Last active
November 26, 2018 17:07
-
-
Save AntonyBaasan/72b8d84c26162a7712dbf6c1799c3cdf to your computer and use it in GitHub Desktop.
XmlConfigurator.Configure
This file contains hidden or 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
var repos = LogManager.GetRepository(Assembly.GetEntryAssembly()); | |
XmlConfigurator.Configure(repos, new FileInfo(configFile)); | |
log = LogManager.GetLogger(typeof(SomeType)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment