All Downloads are FREE. Search and download functionalities are using the official Maven repository.

notion.api.v1.logging.NotionLogger.kt Maven / Gradle / Ivy

package notion.api.v1.logging

interface NotionLogger {

  fun isDebugEnabled(): Boolean

  fun debug(message: String, e: Throwable?)
  fun info(message: String, e: Throwable?)
  fun warn(message: String, e: Throwable?)
  fun error(message: String, e: Throwable?)

  // for other JVM languages
  fun debug(message: String) = debug(message, null)
  fun info(message: String) = info(message, null)
  fun warn(message: String) = warn(message, null)
  fun error(message: String) = error(message, null)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy