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