Class ColoredConsolePrinter
Prints a pretty message to the console.
Namespace: IPA.Logging.Printers
Assembly: IPA.Loader.dll
Syntax
public class ColoredConsolePrinter : LogPrinter
Properties
| Improve this Doc View SourceColor
The color to print messages as.
Declaration
public ConsoleColor Color { get; set; }
Property Value
Type | Description |
---|---|
ConsoleColor | the color to print this message as |
Filter
A filter for this specific printer.
Declaration
public override Logger.LogLevel Filter { get; set; }
Property Value
Type | Description |
---|---|
Logger.LogLevel | the filter to apply to this printer |
Overrides
Methods
| Improve this Doc View SourcePrint(Logger.Level, DateTime, String, String)
Prints an entry to the console window.
Declaration
public override void Print(Logger.Level level, DateTime time, string logName, string message)
Parameters
Type | Name | Description |
---|---|---|
Logger.Level | level | the Logger.Level of the message |
DateTime | time | the |
String | logName | the name of the log that sent the message |
String | message | the message to print |