Sha256: 8622e4ed4a4f81fc9ec882767de63e471f4cd15d1195b58b4b518075b1111dc2

Contents?: true

Size: 955 Bytes

Versions: 3

Compression:

Stored size: 955 Bytes

Contents

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace ASPNetBufferingWrapper
{
    public partial class NormalPage : System.Web.UI.Page
    {
        private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();

        protected void Page_Load(object sender, EventArgs e)
        {
            // This page simulates correct flow, no warnings are emitted
            // This causes the postfiltering wrapper to emit only the Info messages

            logger.Info("info1");
            logger.Debug("some debug message");
            logger.Debug("some other debug message");
            logger.Debug("yet another other debug message");
            logger.Info("info2");
        }
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nlog-1.0.0.505.20100822 docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.cs
nlog-1.0.0.505 docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.cs
nlog-1.0.0.505-mswin32 docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.cs