Plumtree EDK (Enterprise Web Development Kit) 5.4.0

ILogger Interface

Defines the interface for logger instances, including logging methods and methods to test if various log levels are enabled. To create a logger object call LogFactory.GetLogger().

Logging Levels

Severity-Based Logging Levels

Supplemental Logging Levels

Logging Performance Considerations

To minimize the performance cost of logging and avoid unnecessary work when constructing log messages use an overload of one of the logging methods which inserts values into a format string. The overloads help reduce string concatenation. Also wrap any complex message construction in a conditional block to avoid doing the work if there are no listeners at that log level, following the example in the namespace summary.

For a list of all members of this type, see ILogger Members.

public interface ILogger

Requirements

Namespace: Plumtree.Remote.Logging

Assembly: edk (in edk.dll)

See Also

ILogger Members | Plumtree.Remote.Logging Namespace