Interface ILogSettings
Interface representing the logging settings configuration.
Namespace: Serenity.Logging.Application.Entities
Assembly: Serenity.Global.Application.dll
Syntax
public interface ILogSettings
Properties
CategoryVerbosity
Gets the specific verbosity settings for individual log categories.
Declaration
LogCategoryVerbosity[] CategoryVerbosity { get; }
Property Value
| Type | Description |
|---|---|
| LogCategoryVerbosity[] | An array of log category verbosity settings. |
ShowCategory
Gets a value indicating whether log categories should be shown in log entries.
Declaration
bool ShowCategory { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if log categories should be shown; otherwise, false. |
ShowTimestamps
Gets a value indicating whether timestamps should be shown in log entries.
Declaration
bool ShowTimestamps { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if timestamps should be shown; otherwise, false. |
UseRichText
Gets a value indicating whether rich text formatting is used in log entries.
Declaration
bool UseRichText { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if rich text formatting is used; otherwise, false. |
Verbosity
Gets the global/default log verbosity level.
Declaration
LogVerbosity Verbosity { get; }
Property Value
| Type | Description |
|---|---|
| LogVerbosity | The global/default log verbosity level. |