Class LoggingConfiguration
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
Configuration for Discord client logging behavior.
public sealed class LoggingConfiguration
- Inheritance
-
LoggingConfiguration
- Inherited Members
Constructors
- LoggingConfiguration()
Creates a new logging configuration with default values.
- LoggingConfiguration(LoggingConfiguration)
Creates a clone of another logging configuration.
Properties
- LogTimestampFormat
Allows you to overwrite the time format used by the internal debug logger.
Only applicable when LoggerFactory is set left at default value. Defaults to ISO 8601-like format.
- LoggerFactory
Sets the logger implementation to use.
To create your own logger, implement the ILoggerFactory instance.
Defaults to built-in implementation.
- MinimumLogLevel
Sets the minimum logging level for messages.
Defaults to Information.