Skip to content

Instantly share code, notes, and snippets.

@mizrael
Last active October 6, 2017 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizrael/cdfacf372b1359f454e3013e43c6becd to your computer and use it in GitHub Desktop.
Save mizrael/cdfacf372b1359f454e3013e43c6becd to your computer and use it in GitHub Desktop.
NLog basic initialization
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