Show / Hide Table of Contents

Class ConsoleLogConfig

Configuration values for the built in console log process.

Inheritance
System.Object
ConsoleLogConfig
Implements
ICloudShareSyncConfig
Namespace: Cloud_ShareSync.Core.Configuration.Types
Assembly: Cloud-ShareSync.Core.Configuration.dll
Syntax
public class ConsoleLogConfig : object, ICloudShareSyncConfig

Properties

| Improve this Doc View Source

EnableColoredConsole

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

| Improve this Doc View Source

LogLevels

Sets the log levels that should go into the console.

Declaration
public SupportedLogLevels LogLevels { get; set; }
Property Value
Type Description
SupportedLogLevels

Info
Warn
Error
Fatal

| Improve this Doc View Source

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 Source

ToString()

Returns the ConsoleLogConfig as a json string.

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

ICloudShareSyncConfig
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
About Me | Open Source Acknowledgements | Security
☀
☾