NLog 5.0
NLog 5.0
Namespaces
NLog
LogManager Class
LogManager Methods
GetCurrentClassLogger Method
GetCurrentClassLogger Method
GetCurrentClassLogger Method (Type)
LogManager
GetCurrentClassLogger Method
Overload List
Name
Description
GetCurrentClassLogger
Gets the logger with the full name of the current class, so namespace and class name.
GetCurrentClassLogger(Type)
Obsolete.
Gets a custom logger with the full name of the current class, so namespace and class name. Use
loggerType
to create instance of a custom
Logger
. If you haven't defined your own
Logger
class, then use the overload without the loggerType.
Top
See Also
Reference
LogManager Class
NLog Namespace
Copyright (c) 2004-2022 NLog