Interface ILogProfileDefinition
Definition of a log profile with routes and default logger key.
Namespace: Serenity.Logging.Application.Interfaces
Assembly: Serenity.Global.Application.dll
Syntax
public interface ILogProfileDefinition : IFoundationSettings
Properties
DefaultLoggerKey
The key identifying the default logger in the profile.
Declaration
string DefaultLoggerKey { get; }
Property Value
| Type | Description |
|---|---|
| string | The default logger key as a string. |
Routes
The collection of log routes defined in the profile.
Declaration
IReadOnlyList<ILogRoute> Routes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ILogRoute> | A read-only list of log routes. |
Methods
GetRoute(Type)
Gets the log route associated with the specified installer type.
Declaration
ILogRoute GetRoute(Type installerType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | installerType | The type of the installer. |
Returns
| Type | Description |
|---|---|
| ILogRoute | The log route for the installer type. |