android-components / mozilla.components.support.rustlog / RustLog

RustLog

object RustLog (source)

Functions

Name Summary
disable fun disable(): Unit
Disable the rust log adapter.
enable fun enable(crashReporter: CrashReporting? = null): Unit
Enable the Rust log adapter.
setMaxLevel fun setMaxLevel(level: Priority, includePII: Boolean = false): Unit
Set the maximum level of logs that will be forwarded to Log. By default, the max level is DEBUG.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.