Hierarchy OnLoggerCreationEvent Method | Apache log4net™ SDK Documentation

Sends a logger creation event to all registered listeners

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected virtual void OnLoggerCreationEvent(
    	Logger logger
    )

    Protected Overridable Sub OnLoggerCreationEvent (
    	logger As Logger
    )

    protected:
    virtual void OnLoggerCreationEvent(
    	Logger^ logger
    )

    abstract OnLoggerCreationEvent :
            logger : Logger -> unit
    override OnLoggerCreationEvent :
            logger : Logger -> unit

#### Parameters

logger
  Type: log4net.Repository.Hierarchy
  Logger
  The newly created logger

Remarks

Raises the logger creation event.
See Also

#### Reference

Hierarchy Class
log4net.Repository.Hierarchy Namespace