Sha256: 98df86e0ac6e51d213d013b1569f3821c6966ceb8744b50cece5cf704d410a39

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

<nlog>
    <targets>
        <target name="codziennyPlik" type="File" layout="${longdate} ${message}" filename="${shortdate}.log" />
        <target name="konsola" type="Console" />
        <target name="bledy" type="File" filename="errors.log" />
        <target name="bazaDanych" type="Database">
            <dbprovider>mssql</dbprovider>
            <dbhost>.</dbhost> 
            <dbdatabase>NLogDatabase</dbdatabase>
            <dbusername>nloguser</dbusername>
            <dbpassword>nlogpassword</dbpassword>

            <commandText>
                insert into LogTable(time_stamp,level,logger,message) 
                       values(@time_stamp, @level, @logger, @message);
            </commandText>

            <parameter name="@time_stamp" layout="${date}" />
            <parameter name="@level" layout="${level}" />
            <parameter name="@logger" layout="${logger}" />
            <parameter name="@message" layout="${message}" />
        </target>
    </targets>
</nlog>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nlog-1.0.0.505.20100822 docs/examples/web/article5.nlog
nlog-1.0.0.505 docs/examples/web/article5.nlog
nlog-1.0.0.505-mswin32 docs/examples/web/article5.nlog