Class ConsoleLogger
Inheritance
ConsoleLogger
Assembly: Estrelica.Logging.dll
Syntax
[DoNotObfuscateType]
public class ConsoleLogger : BaseLogger, ILogSubscriber
Constructors
Declaration
public ConsoleLogger(LogLevel minimumSubscribedLevel)
Parameters
Properties
Declaration
public override string Description { get; }
Property Value
Overrides
Methods
Declaration
protected override void DoLog(string message, LogLevel level)
Parameters
Overrides
Declaration
public static void LogMessage(string message, LogLevel level)
Parameters
Declaration
public static void Subscribe(LogLevel minimumSubscribedLevel = LogLevel.Info)
Parameters
Declaration
public static void Unsubscribe()
Declaration
public static void WriteToConsole(string message, ConsoleColor color)
Parameters
Extension Methods