Skip to content

Commit a3e6f59

Browse files
committed
refactor: remove slf4j
1 parent b4962bf commit a3e6f59

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ val vertxVersion: String by project
2424
val kotlinVersion: String by project
2525
val projectVersion: String by project
2626
val jacksonVersion: String by project
27-
val slf4jVersion: String by project
2827
val kotlinxDatetime: String by project
2928
val kotlinxSerializationJson: String by project
3029

@@ -86,7 +85,6 @@ kotlin {
8685
}
8786
val jvmMain by getting {
8887
dependencies {
89-
implementation("org.slf4j:slf4j-api:$slf4jVersion")
9088
implementation("io.vertx:vertx-core:$vertxVersion")
9189
implementation("io.vertx:vertx-codegen:$vertxVersion")
9290
implementation("io.vertx:vertx-tcp-eventbus-bridge:$vertxVersion")

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ projectVersion=0.6.5-SNAPSHOT
55
kotlinVersion=1.6.10
66
vertxVersion=4.3.3
77
jacksonVersion=2.13.1
8-
slf4jVersion=1.7.33
98
kotlinxDatetime=0.4.0
109
kotlinxSerializationJson=1.3.3
1110
joorVersion=0.9.13

src/jvmMain/kotlin/spp/protocol/extend/TCPServiceFrameParser.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import io.vertx.core.json.JsonObject
2626
import io.vertx.core.net.NetSocket
2727
import io.vertx.ext.bridge.BridgeEventType
2828
import io.vertx.ext.eventbus.bridge.tcp.impl.protocol.FrameHelper
29-
import org.slf4j.LoggerFactory
3029
import spp.protocol.platform.auth.RolePermission
3130
import spp.protocol.service.error.InstrumentAccessDenied
3231
import spp.protocol.service.error.LiveInstrumentException
@@ -35,17 +34,11 @@ import spp.protocol.service.error.PermissionAccessDenied
3534

3635
class TCPServiceFrameParser(val vertx: Vertx, val socket: NetSocket) : Handler<AsyncResult<JsonObject>> {
3736

38-
companion object {
39-
private val log = LoggerFactory.getLogger(TCPServiceFrameParser::class.java)
40-
}
41-
4237
override fun handle(event: AsyncResult<JsonObject>) {
4338
if (event.failed()) {
44-
log.error("Failed to receive frame", event.cause())
4539
return
4640
}
4741
val frame = event.result()
48-
log.trace("Received frame: {}", frame)
4942

5043
if (frame.getString("replyAddress") != null) {
5144
val deliveryOptions = DeliveryOptions()

0 commit comments

Comments
 (0)