Sha256: 89e99af419c48b61d0013606f9dbba70ee3d20b038998df8b8540d2d252a19f7

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

<%@ Page language="c#" AutoEventWireup="true" %>
<script language="C#" runat="server">
NLog.Logger logger = NLog.LogManager.GetLogger("default.aspx");

void Page_Load(Object sender, EventArgs e)
{
    logger.Info("got Page_Load() event");
    logger.Warn("Some warning...");
    logger.Error("Some error...");
}
</script>
<html>
<head>
</head>
<body>
    <p>
        Page has been loaded and log events have been registered for display in ASP.NET Trace facility.
    </p>
    <p>
        <a href="Trace.axd">Click here to view trace output from Trace.axd</a>
    </p>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nlog-1.0.0.505.20100822 docs/examples/targets/Configuration API/ASPNetTrace/test.aspx
nlog-1.0.0.505 docs/examples/targets/Configuration API/ASPNetTrace/test.aspx
nlog-1.0.0.505-mswin32 docs/examples/targets/Configuration API/ASPNetTrace/test.aspx