Interface ILogger
Basic interface for logging
Namespace: BuildSystem.Logging
Assembly: BuildSystem.Logging.dll
Syntax
[Guid("62967797-1573-4DC4-A4D7-DFCC98DBF332")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ILogger
Methods
addLogLevel(LogLevel)
Add logging for new level
Declaration
void addLogLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level |
debug(string)
Save message in log with level = debug
Declaration
void debug(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
error(string)
Save message in log with level = error
Declaration
void error(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
head(string)
Save message in log with level = head
Declaration
void head(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
info(string)
Save message in log with level = info
Declaration
void info(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
log(LogLevel, string)
Save message with its level to log
Declaration
void log(LogLevel level, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | |
string | message |
removeLogLevel(LogLevel)
Remove logging for existing level
Declaration
void removeLogLevel(LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level |
setMinLevel(LogLevel)
Minimal level of logging, which will be processed. All higher levels will also be added
Declaration
void setMinLevel(LogLevel MinLevel)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | MinLevel |
verbose(string)
Save message in log with level = verbose
Declaration
void verbose(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
warning(string)
Save message in log with level = warning
Declaration
void warning(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |