LocationInfo Constructor (Type) | Apache log4net™ SDK Documentation

Constructor

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

C#
VB
C++
F#
Copy

    public LocationInfo(
    	Type callerStackBoundaryDeclaringType
    )

    Public Sub New (
    	callerStackBoundaryDeclaringType As Type
    )

    public:
    LocationInfo(
    	Type^ callerStackBoundaryDeclaringType
    )

    new :
            callerStackBoundaryDeclaringType : Type -> LocationInfo

#### Parameters

callerStackBoundaryDeclaringType
  Type: System
  Type
  The declaring type of the method that is the stack boundary into the logging system for this call.

Remarks

Initializes a new instance of the LocationInfo class based on the current thread.

See Also

#### Reference

LocationInfo Class
LocationInfo Overload
log4net.Core Namespace