MPDebugLog

open class MPDebugLog

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 isDeveloperMode(): Boolean
Link copied to clipboard
open fun LogD(@NonNull tag: String, @NonNull message: String)
Log at debugging level
Link copied to clipboard
open fun LogE(@NonNull tag: String, @NonNull message: String)
Log at error level
Link copied to clipboard
open fun LogI(@NonNull tag: String, @NonNull message: String)
Log at info level
Link copied to clipboard
open fun LogW(@NonNull tag: String, @NonNull message: String)
Log at warning level
Link copied to clipboard
open fun setCustomTagPrefix(@NonNull customTagPrefix: String)
Apply a custom tag prefix to logging entries
Link copied to clipboard
open fun SetLogLevel(level: Int)
Sets the logging level