Advanced Logging with
NLog
a presentation by
@kjellski
for the
@DOTNETHH
Agenda
NLog Project
NLog Architecture
Code:
how to start
how to debug
advanced techinques
NLog Project
http://nlog-project.org/
OpenSource:
https://github.com/NLog/NLog/
Many Examples:
https://github.com/NLog/NLog/tree/master/examples
.net Core in the making already - (coreCLR branch)
NLog Architecture
Configuration
web.config
NLog.config
programmatically
NLog Architecture
Targets
Ouput sinks (where to log to)
Already existing targets:
Database
EventLog
Email
UDPPort
...
NLog Architecture
Rules
Are you really logging it?
Redirect, multiplex and distribute
Custom matcher
...
Show me some code!
Useful Links
Troubleshooting
Github Repo for this talk
Examples, Examples, Examples
Thanks for all the fish!
Happy Logging!
Made with Slides.com