LogSwitch

class LogSwitch(val open: Boolean)(source)

LogSwitch is used to control whether to enable logging.

Before the 1.3.8 version, if the user does not install LogSwitch, the log will be printed by default. From 1.3.8 Starting from version, users can only enable logs if they have installed LogSwitch and set LogSwitch.open to true .

Since

0.5.2

See also

Constructors

Link copied to clipboard
internal constructor(open: Boolean)

Types

Link copied to clipboard
Link copied to clipboard

Configuration of LogSwitch.

Properties

Link copied to clipboard