log4net SDK Reference |

# ILogger Interface

Interface that all loggers implement

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

[Visual Basic]
Public Interface ILogger
[C#]
public interface ILogger

#### Types that implement ILogger

Type | Description
--- | ---
Logger | Implementation of ILogger used by Hierarchy
RootLogger | The RootLogger sits at the root of the logger hierarchy tree.

#### Remarks

This interface supports logging events and testing if a level is enabled for logging.

These methods will not throw exceptions. Note to implementor, ensure that the implementation of these methods cannot allow an exception to be thrown to the caller.

#### Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

#### See Also

ILogger Members | log4net.Core Namespace