Sha256: b9473d2f57feece4d3c6d456ecd81f2482bc855577985813e989a17212742c49
Contents?: true
Size: 455 Bytes
Versions: 3
Compression:
Stored size: 455 Bytes
Contents
using System; using NLog; using NLog.Targets; using NLog.Win32.Targets; class Example { static void Main(string[] args) { OutputDebugStringTarget target = new OutputDebugStringTarget(); target.Layout = "${message}"; NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug); Logger logger = LogManager.GetLogger("Example"); logger.Debug("log message"); } }
Version data entries
3 entries across 3 versions & 1 rubygems