Protected
constructorConstructor. Can only be called internally since we regulate ButtplugLogger ownership.
Protected
maximumSets maximum log level to log to console
Protected
maximumSets maximum log level for all log messages
Static
Protected
sSingleton instance for the logger
Set the maximum log level to output to console.
Get the maximum log level to output to console.
Set the global maximum log level
Get the global maximum log level
Static
LoggerReturns the stored static instance of the logger, creating one if it doesn't currently exist.
Protected
AddChecks to see if message should be logged, and if so, adds message to the log buffer. May also print message and emit event.
Generated using TypeDoc
Simple, global logging utility for the Buttplug client and server. Keeps an internal static reference to an instance of itself (singleton pattern, basically), and allows message logging throughout the module.