Class LoggerMinimumLevelConfig
Use to set the minimum log level that you want to use.
Inherited Members
Namespace: Unity.Logging
Assembly: Unity.Logging.dll
Syntax
public class LoggerMinimumLevelConfig
Properties
Get
Returns currently set minimal level
Declaration
public LogLevel Get { get; }
Property Value
Type | Description |
---|---|
LogLevel |
Methods
Debug()
Sets minimal level to Debug
Declaration
public LoggerConfig Debug()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Error()
Sets minimal level to Error
Declaration
public LoggerConfig Error()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Fatal()
Sets minimal level to Fatal
Declaration
public LoggerConfig Fatal()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Info()
Sets minimal level to Info
Declaration
public LoggerConfig Info()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Set(LogLevel)
Sets minimal level of logs
Declaration
public LoggerConfig Set(LogLevel minLevel)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | minLevel |
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Verbose()
Sets minimal level to Verbose
Declaration
public LoggerConfig Verbose()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |
Warning()
Sets minimal level to Warning
Declaration
public LoggerConfig Warning()
Returns
Type | Description |
---|---|
LoggerConfig | LoggerConfig for other settings to set |