Class LoggerFactoryAttribute
Attribute that defines a type of ILogger
Inheritance
Namespace: EPiServer.Logging
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public sealed class LoggerFactoryAttribute : Attribute
Remarks
The standard Log
Constructors
LoggerFactoryAttribute(Type)
Initializes a new instance of the Logger
Declaration
public LoggerFactoryAttribute(Type loggerFactoryType)
Parameters
Type | Name | Description |
---|---|---|
System. |
loggerFactoryType | Type that should be used to create logger instances. Must implement ILogger |
Exceptions
Type | Condition |
---|---|
System. |
loggerFactoryType |
System. |
Type must implement ILoggerFactory interface;loggerFactoryType |
Properties
LoggerFactoryType
Gets the type of ILogger
Declaration
public Type LoggerFactoryType { get; }
Property Value
Type | Description |
---|---|
System. |