Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Aqueduct
Diagnostics
AppLogger
GetNamedLogger
Aqueduct.Diagnostics.AppLogger.GetNamedLogger C# (CSharp) Method
AppLogger Class Documentation
Show file
Open project: aqueduct/Aqueduct.SitecoreLib
GetNamedLogger()
public
static
method
Returns a new instance of ILogger with a name taken from a type
Need to have called Initialise before you can get a working logger
public
static
GetNamedLogger
(
Type
loggedType
) :
ILogger
loggedType
System.Type
The type which will be used as the logger's name.
return
ILogger
public static ILogger GetNamedLogger(Type loggedType) { return new Logger(loggedType); }
Same methods
AppLogger::
GetNamedLogger
(
string
logName
) :
ILogger
AppLogger
AddGlobalCustomParameter
GetNamedLogger
Initialise
InitialiseFromConfig
LogDebugMessage
LogError
LogFatalError
LogInfoMessage
LogWarningMessage
SendToAppFail