Sha256: 76059d3bf265333aaea5631e7be6ebd6bf0d6d8325289c4a6628519a205fc49e

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

using System;

using NLog;
using NLog.Targets;

class Example
{
    static void Main(string[] args)
    {
        DebuggerTarget target = new DebuggerTarget();
        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

Version Path
nlog-1.0.0.505.20100822 docs/examples/targets/Configuration API/Debugger/Simple/Example.cs
nlog-1.0.0.505 docs/examples/targets/Configuration API/Debugger/Simple/Example.cs
nlog-1.0.0.505-mswin32 docs/examples/targets/Configuration API/Debugger/Simple/Example.cs