Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: LoggerBase GetLogger(bool, string, string)

Declaration

public static LoggerBase GetLogger(
    bool console,
    string file,
    string logVerbosity
)

Summary

Returns a logger in accordance with the specified settings.

Parameters

boolconsole If true, the resulting logger will log to the console.
stringfile If non-null, the resulting logger will log to the specified file.
stringlogVerbosity Configures the verbosity of the resulting logger.

Remarks

Uses ConsoleLogger amd FileAppendLogger as appropriate.

If both logging mechanisms are specified, uses a MulticastLogger to combine the two.