Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
log4net notes
Enter file contents herelog4net.Config.Basiconfigurator.Configure();
in config hvae something like
<level value="All">
<appender-ref ref="Console">
keep an eye on Output window
4 - make sure set layouts for appenders
appender.layout = layout
5 - make sure you apply appenders to logger
log a message as soon as u can
log.Debug("logging is enabled")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.