Defines the contract that is implemented to provide Logging services using custom Logging providers.

Namespace:  CuttingEdge.Logging
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

See Also