dbglog

open class dbglog

Functions

Link copied to clipboard
open fun Assert(condition: Boolean)
open fun Assert(condition: Boolean, @NonNull message: String)
Throws an assert if the given condition is not met.
Link copied to clipboard
open fun enableDeveloperMode(enable: Boolean)
open fun enableDeveloperMode(enable: Boolean, @Nullable customTagPrefix: String)
/** Enables the Developer mode
Link copied to clipboard
open fun isDebugMode(): Boolean
Link copied to clipboard
open fun isDeveloperMode(): Boolean
Link copied to clipboard
open fun Log(@NonNull tag: String, @NonNull message: String)
Link copied to clipboard
open fun LogE(@NonNull tag: String, @NonNull message: String)
Link copied to clipboard
open fun LogI(@NonNull tag: String, @NonNull message: String)
Link copied to clipboard
open fun LogW(@NonNull tag: String, @NonNull message: String)
Link copied to clipboard
open fun setCustomTagPrefix(@NonNull customTagPrefix: String)
Link copied to clipboard
open fun SetLoglevel(level: Int)
Sets the logging level
Link copied to clipboard
open fun startTimer()
Starts a timer for instrumenting code Note: This method is not thread safe.
Link copied to clipboard
open fun stopTimer(@Nullable message: String)
Stops a timer and shows the delta since the timer was started along with a message Note: This method is not thread safe.
Link copied to clipboard
open fun useDebug(debugInfo: Boolean)
Enables the Developer mode

Properties

Link copied to clipboard
val ASSERT: Int
Link copied to clipboard
val DEBUG: Int
Link copied to clipboard
open val DEFAULT_GENERAL_TAG: String
Link copied to clipboard
val ENABLE_ASSERTIONS: Boolean
Link copied to clipboard
val ERROR: Int
Link copied to clipboard
open val GENERAL_TAG: String
Link copied to clipboard
val INFO: Int
Link copied to clipboard
val VERBOSE: Int
Link copied to clipboard
val WARN: Int