Open sandboxFocus

Method CreateFromDefaultBackend

CreateFromDefaultBackend(bool, bool)

Returns a LoggingBackend, for use with the Meta role, that will try to write to DefaultBackend if it is enabled, and will optionally write warnings and errors to the console and the debugger.

Declaration
public static LoggingBackend CreateFromDefaultBackend(bool toConsole = true, bool toDebugger = true)
Parameters
Type Name Description
bool toConsole
bool toDebugger
Returns
Type Description
LoggingBackend

A LoggingBackend: either a MultiplexerBackend or a the DefaultBackend itself.