Constructs a new instance of the OutputManager class. console.debug is disabled by default.
Readonly colorsAnsi-colors object
Readonly debugA MethodDisabler instance for disabling the debug method of the console object.
Protected Readonly debugAn array that holds queued debug messages.
Readonly stderrA MethodDisabler instance for disabling the write method of the process.stderr object.
Readonly stdoutA MethodDisabler instance for disabling the write method of the process.stdout object.
Static Private instanceThe singleton instance of the OutputManager class.
Outputs a debug message to the console. If the debug method is enabled, the message is immediately logged to the console. Otherwise, the message is added to the debug message queue.
A function that returns the debug message.
Resets the OutputManager to its default state.
The OutputManager instance.
Static getReturns the singleton instance of the OutputManager class. If the instance does not exist, it creates a new one.
Generated using TypeDoc
The OutputManager class manages the output of debug messages to the console.