Class LogPrinter
The log printer's base class.
Namespace: IPA.Logging
Assembly: IPA.Loader.dll
Syntax
public abstract class LogPrinter : object
Properties
| Improve this Doc View SourceFilter
Provides a filter for which log levels to allow through.
Declaration
public abstract Logger.LogLevel Filter { get; set; }
Property Value
Type | Description |
---|---|
Logger.LogLevel | the level to filter to |
Methods
| Improve this Doc View SourceEndPrint()
Called after the last print in a group. May be called multiple times. Use this to dispose file handles and the like.
Declaration
public virtual void EndPrint()
Print(Logger.Level, DateTime, String, String)
Prints a provided message from a given log at the specified time.
Declaration
public abstract void Print(Logger.Level level, DateTime time, string logName, string message)
Parameters
Type | Name | Description |
---|---|---|
Logger.Level | level | the log level |
DateTime | time | the time the message was composed |
String | logName | the name of the log that created this message |
String | message | the message |
StartPrint()
Called before the first print in a group. May be called multiple times. Use this to create file handles and the like.
Declaration
public virtual void StartPrint()