[jira] [Updated] (IGNITE-4549) .NET: Add LINQPad samples to logging NuGet packages
[ https://issues.apache.org/jira/browse/IGNITE-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-4549: --- Labels: .NET (was: .NET newbie) > .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 > > 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 (v8.3.4#803005)
[jira] [Updated] (IGNITE-4549) .NET: Add LINQPad samples to logging NuGet packages
[ https://issues.apache.org/jira/browse/IGNITE-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-4549: --- Fix Version/s: (was: 2.1) 2.3 > .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.3 > > > 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.15#6346)
[jira] [Updated] (IGNITE-4549) .NET: Add LINQPad samples to logging NuGet packages
[ https://issues.apache.org/jira/browse/IGNITE-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-4549: --- Fix Version/s: (was: 2.0) 2.1 > .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.1 > > > 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.15#6346)
[jira] [Updated] (IGNITE-4549) .NET: Add LINQPad samples to logging NuGet packages
[ https://issues.apache.org/jira/browse/IGNITE-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-4549: --- Description: 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} was: Add LINQPad samples to Log4Net and NLog NuGet packages. Samples should include simple in-code file-based log configuration and writing to the log. > .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 >Assignee: 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)