Class ConsoleLogConfig
Configuration values for the built in console log process.
Inheritance
System.Object
ConsoleLogConfig
Implements
Namespace: Cloud_ShareSync.Core.Configuration.Types
Assembly: Cloud-ShareSync.Core.Configuration.dll
Syntax
public class ConsoleLogConfig : object, ICloudShareSyncConfig
Properties
| Improve this Doc View SourceEnableColoredConsole
Controls whether to use the colored console appender or plaintext console appender.
Default settings enable color unless Env:NO_COLOR is set.
Set this value to false to explicitly disable the colored console appender.
Declaration
public bool EnableColoredConsole { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true |
LogLevels
Sets the log levels that should go into the console.
Declaration
public SupportedLogLevels LogLevels { get; set; }
Property Value
| Type | Description |
|---|---|
| SupportedLogLevels |
UseStdErr
Controls whether Fatal and Error messages are written to the stderr stream.
If set to false all console messages, regardless of severity, will go to stdout instead.
Declaration
public bool UseStdErr { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true |
Methods
| Improve this Doc View SourceToString()
Returns the ConsoleLogConfig as a json string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |