Click or drag to resize
SimpleLoggerFactoryTLogProvider Class
A implementation of ILoggerFactory that creates logger instances configured so its IsLoggingEnabled is true, logs at the LoggingLevel specified by the value passed into the SimpleLoggerFactory constructor, has a single log provider of type TLogProvider, uses a new NullThrottlingRuleEvaluator for the throttling rule evaluator, and has no context providers.
Inheritance Hierarchy
SystemObject
  Rock.LoggingSimpleLoggerFactoryTLogProvider

Namespace: Rock.Logging
Assembly: Rock.Logging (in Rock.Logging.dll) Version: 0.9.2
Syntax
public sealed class SimpleLoggerFactory<TLogProvider> : ILoggerFactory
where TLogProvider : new(), ILogProvider

Type Parameters

TLogProvider

[Missing <typeparam name="TLogProvider"/> documentation for "T:Rock.Logging.SimpleLoggerFactory`1"]

The SimpleLoggerFactoryTLogProvider type exposes the following members.

Constructors
  NameDescription
Public methodSimpleLoggerFactoryTLogProvider
Initializes a new instance of the SimpleLoggerFactoryTLogProvider class.
Public methodSimpleLoggerFactoryTLogProvider(LogLevel, IResolver)
Initializes a new instance of the SimpleLoggerFactoryTLogProvider class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetTLogger
Get an instance of TLogger for the given category.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodWithCaching (Defined by WithCachingExtension.)
Top
See Also