Last active
October 6, 2017 20:29
-
-
Save mizrael/cdfacf372b1359f454e3013e43c6becd to your computer and use it in GitHub Desktop.
NLog basic initialization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyAwesomeClass{ | |
private static readonly NLog.Logger _logger; | |
static MyAwesomeClass(){ | |
_logger = NLog.LogManager.GetCurrentClassLogger(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment