 | LogFactoryGetCurrentClassLogger Method |
Gets the logger with the name of the current class.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic Logger GetCurrentClassLogger()
Public Function GetCurrentClassLogger As Logger
Return Value
Type:
LoggerThe logger.
RemarksThis is a slow-running method.
Make sure you're not doing this in a loop.
See Also