Assembly: CuttingEdge.Logging (in CuttingEdge.Logging.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public MustInherit Class LoggingProviderBase _ Inherits ProviderBase _ Implements ILogger |
| C# |
|---|
public abstract class LoggingProviderBase : ProviderBase, ILogger |
| Visual C++ |
|---|
public ref class LoggingProviderBase abstract : public ProviderBase, ILogger |
| JavaScript |
|---|
CuttingEdge.Logging.LoggingProviderBase = function(); Type.createClass( 'CuttingEdge.Logging.LoggingProviderBase', ProviderBase, CuttingEdge.Logging.ILogger); |
Remarks
CuttingEdge.Logging is designed to enable you to easily use a number of different Logging providers for your applications. You can use the supplied Logging providers that are included with this assembly, or you can implement your own provider.
When implementing a custom Logging provider, you are required to inherit this abstract LoggingProviderBase class.
The LoggingProviderBase abstract class inherits from the ProviderBase abstract class. LoggingProviderBase implementations must also implement the required members of ProviderBase.
Note: Concrete implementations of this type should be thread-safe. The Logger services will instantiate a single instance of a configured type and the instance can be called from multiple threads. Also note that users are allowed to configure multiple multiple providers of the same type, even with exactly the same configuration. Implementations must be aware of this and need to take appropriate actions to ensure correctness.
Inheritance Hierarchy
System.Configuration.Provider..::.ProviderBase
CuttingEdge.Logging..::.LoggingProviderBase
CuttingEdge.Logging..::.CompositeLoggingProvider
CuttingEdge.Logging..::.ConsoleLoggingProvider
CuttingEdge.Logging..::.DebugLoggingProvider
CuttingEdge.Logging..::.MailLoggingProvider
CuttingEdge.Logging..::.MemoryLoggingProvider
CuttingEdge.Logging..::.SqlLoggingProvider
CuttingEdge.Logging..::.TerminatorLoggingProvider
CuttingEdge.Logging.Web..::.AspNetTraceLoggingProvider
CuttingEdge.Logging..::.WindowsEventLogLoggingProvider