[ 
https://issues.apache.org/jira/browse/IGNITE-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn reassigned IGNITE-4549:
--------------------------------------

    Assignee:     (was: Pavel Tupitsyn)

> .NET: Add LINQPad samples to logging NuGet packages
> ---------------------------------------------------
>
>                 Key: IGNITE-4549
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4549
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>    Affects Versions: 1.8
>            Reporter: Pavel Tupitsyn
>            Priority: Trivial
>              Labels: .NET, newbie
>             Fix For: 2.0
>
>
> Add LINQPad samples to Log4Net and NLog NuGet packages.
> Samples should include simple in-code file-based log configuration and 
> writing to the log.
> NLog example can be like this:
> {code}
>             var nlogConfig = new LoggingConfiguration();
>             var fileTarget = new FileTarget
>             {
>                 FileName = "ignite_nlog.log"
>             };
>             nlogConfig.AddTarget("logfile", fileTarget);
>             nlogConfig.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, 
> fileTarget));
>             LogManager.Configuration = nlogConfig;
>             var igniteConfig = new IgniteConfiguration
>             {
>                 Logger = new IgniteNLogLogger()
>             };
>             Ignition.Start(igniteConfig);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to