-
-
Save v3rt1go/94a44e74ddaeb938bae1134c4c21b0a5 to your computer and use it in GitHub Desktop.
Logging
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
<configSections> | |
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" /> | |
<sectionGroup name="common"> | |
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /> | |
</sectionGroup> | |
</configSections> | |
<common> | |
<logging> | |
<factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog31"> | |
<arg key="configType" value="inline" /> | |
</factoryAdapter> | |
</logging> | |
</common> | |
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<targets> | |
<target xsi:type="Chainsaw" name="Log2Console" address="udp://127.0.0.1:7071" /> | |
</targets> | |
<rules> | |
<logger name="*" minlevel="Trace" writeTo="Log2Console" /> | |
</rules> | |
</nlog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment