Class LoggerBroadCaster
Logging into buffer
Inheritance
object
LoggerBroadCaster
Implements
Namespace: BuildSystem.Loggers
Assembly: BuildSystem.Loggers.dll
Syntax
public class LoggerBroadCaster : Object, ILogger
Constructors
LoggerBroadCaster()
Declaration
public LoggerBroadCaster()
Properties
Loggers
List of loggers
Declaration
public List<ILogger> Loggers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<><ILogger> |
Methods
addLogLevel(LogLevel)
Call addLogLevel(LogLevel) for each logger in Loggers
Declaration
public void addLogLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level |
debug(string)
Save message in log with level = debug
Declaration
public void debug(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |
error(string)
Save message in log with level = error
Declaration
public void error(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |
head(string)
Save message in log with level = head
Declaration
public void head(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |
info(string)
Save message in log with level = info
Declaration
public void info(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |
log(LogLevel, string)
Save message with its level to log
Declaration
public void log(LogLevel level, string data)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | |
string | data |
removeLogLevel(LogLevel)
Call removeLogLevel(LogLevel) for each logger in Loggers
Declaration
public void removeLogLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level |
setMinLevel(LogLevel)
Call setMinLevel(LogLevel) for each logger in Loggers
Declaration
public void setMinLevel(LogLevel minLevel)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | minLevel |
verbose(string)
Save message in log with level = verbose
Declaration
public void verbose(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |
warning(string)
Save message in log with level = warning
Declaration
public void warning(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data |