commonMain.NoopLogger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datadog-jvm Show documentation
Show all versions of datadog-jvm Show documentation
Kotlin multiplatform (Android, iOS and JavaScript) API for Datadog.
package com.juul.datadog
public class NoopLogger : Logger {
override fun debug(message: String, attributes: Map?, throwable: Throwable?) {
// No-op
}
override fun info(message: String, attributes: Map?, throwable: Throwable?) {
// No-op
}
override fun warn(message: String, attributes: Map?, throwable: Throwable?) {
// No-op
}
override fun error(message: String, attributes: Map?, throwable: Throwable?) {
// No-op
}
}