Sha256: 0327d215164ed6877a4558618fe89225770ff6cff10a2efa12172301c59477a6
Contents?: true
Size: 604 Bytes
Versions: 3
Compression:
Stored size: 604 Bytes
Contents
using NLog; using NLog.Targets; class Example { static void Main(string[] args) { ChainsawTarget target = new ChainsawTarget(); target.Address = "udp://localhost:4000"; NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug); Logger logger = LogManager.GetLogger("Example"); logger.Trace("log message 1"); logger.Debug("log message 2"); logger.Info("log message 3"); logger.Warn("log message 4"); logger.Error("log message 5"); logger.Fatal("log message 6"); } }
Version data entries
3 entries across 3 versions & 1 rubygems