nlog 1.0.0.505-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/LICENSE.txt +32 -0
- data/docs/NLog.chm +0 -0
- data/docs/NLogC FAQ.txt +23 -0
- data/docs/README.txt +29 -0
- data/docs/examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.csproj +53 -0
- data/docs/examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.sln +20 -0
- data/docs/examples/ExtendingLoggers/InheritFromLogger/NLog.config +16 -0
- data/docs/examples/ExtendingLoggers/InheritFromLogger/Program.cs +87 -0
- data/docs/examples/ExtendingLoggers/InheritFromLogger/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/ExtendingLoggers/LoggerWrapper/LoggerWrapper.csproj +53 -0
- data/docs/examples/ExtendingLoggers/LoggerWrapper/LoggerWrapper.sln +20 -0
- data/docs/examples/ExtendingLoggers/LoggerWrapper/NLog.config +12 -0
- data/docs/examples/ExtendingLoggers/LoggerWrapper/Program.cs +85 -0
- data/docs/examples/ExtendingLoggers/LoggerWrapper/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/ExtendingLoggers/README.html +39 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/ASPNetBufferingWrapper.csproj +95 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/ASPNetBufferingWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/Global.asax +1 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/Global.asax.cs +40 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx +16 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.cs +30 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.designer.cs +18 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx +16 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx.cs +32 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx.designer.cs +18 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/Properties/AssemblyInfo.cs +10 -0
- data/docs/examples/targets/Configuration API/ASPNetBufferingWrapper/Web.config +22 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/ASPNetTraceTest.csproj +130 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/ASPNetTraceTest.sln +20 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/Global.asax.cs +25 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/README.txt +4 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/global.asax +1 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/test.aspx +23 -0
- data/docs/examples/targets/Configuration API/ASPNetTrace/web.config +8 -0
- data/docs/examples/targets/Configuration API/All_Targets.sln +320 -0
- data/docs/examples/targets/Configuration API/AsyncWrapper/Wrapping File/AsyncWrapper.Wrapping File.csproj +39 -0
- data/docs/examples/targets/Configuration API/AsyncWrapper/Wrapping File/AsyncWrapper.Wrapping File.sln +20 -0
- data/docs/examples/targets/Configuration API/AsyncWrapper/Wrapping File/Example.cs +27 -0
- data/docs/examples/targets/Configuration API/AutoFlushWrapper/Simple/AutoFlushWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/AutoFlushWrapper/Simple/AutoFlushWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/AutoFlushWrapper/Simple/Example.cs +23 -0
- data/docs/examples/targets/Configuration API/BufferingWrapper/Simple/BufferingWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/BufferingWrapper/Simple/BufferingWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/BufferingWrapper/Simple/Example.cs +24 -0
- data/docs/examples/targets/Configuration API/Chainsaw/Simple/Chainsaw.csproj +39 -0
- data/docs/examples/targets/Configuration API/Chainsaw/Simple/Chainsaw.sln +20 -0
- data/docs/examples/targets/Configuration API/Chainsaw/Simple/Example.cs +21 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Row Highlighting/ColoredConsole.Row Highlighting.csproj +39 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Row Highlighting/ColoredConsole.Row Highlighting.sln +20 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Row Highlighting/Example.cs +44 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Simple/ColoredConsole.csproj +39 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Simple/ColoredConsole.sln +20 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Simple/Example.cs +21 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Word Highlighting/ColoredConsole.Word Highlighting.csproj +39 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Word Highlighting/ColoredConsole.Word Highlighting.sln +20 -0
- data/docs/examples/targets/Configuration API/ColoredConsole/Word Highlighting/Example.cs +30 -0
- data/docs/examples/targets/Configuration API/Console/Simple/Console.csproj +39 -0
- data/docs/examples/targets/Configuration API/Console/Simple/Console.sln +20 -0
- data/docs/examples/targets/Configuration API/Console/Simple/Example.cs +16 -0
- data/docs/examples/targets/Configuration API/Database/MSSQL/Database.MSSQL.csproj +39 -0
- data/docs/examples/targets/Configuration API/Database/MSSQL/Database.MSSQL.sln +20 -0
- data/docs/examples/targets/Configuration API/Database/MSSQL/Example.cs +43 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.Native/Database.Oracle.Native.csproj +40 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.Native/Database.Oracle.Native.sln +20 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.Native/Example.cs +28 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.OleDb/Database.Oracle.OleDb.csproj +40 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.OleDb/Database.Oracle.OleDb.sln +20 -0
- data/docs/examples/targets/Configuration API/Database/Oracle.OleDb/Example.cs +26 -0
- data/docs/examples/targets/Configuration API/Debug/Simple/Debug.csproj +39 -0
- data/docs/examples/targets/Configuration API/Debug/Simple/Debug.sln +20 -0
- data/docs/examples/targets/Configuration API/Debug/Simple/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/Debugger/Simple/Debugger.csproj +39 -0
- data/docs/examples/targets/Configuration API/Debugger/Simple/Debugger.sln +20 -0
- data/docs/examples/targets/Configuration API/Debugger/Simple/Example.cs +18 -0
- data/docs/examples/targets/Configuration API/EventLog/Simple/EventLog.csproj +39 -0
- data/docs/examples/targets/Configuration API/EventLog/Simple/EventLog.sln +20 -0
- data/docs/examples/targets/Configuration API/EventLog/Simple/Example.cs +20 -0
- data/docs/examples/targets/Configuration API/FallbackGroup/Simple/Example.cs +31 -0
- data/docs/examples/targets/Configuration API/FallbackGroup/Simple/FallbackGroup.csproj +40 -0
- data/docs/examples/targets/Configuration API/FallbackGroup/Simple/FallbackGroup.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Archive1/Example.cs +29 -0
- data/docs/examples/targets/Configuration API/File/Archive1/File.Archive1.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Archive1/File.Archive1.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Archive2/Example.cs +46 -0
- data/docs/examples/targets/Configuration API/File/Archive2/File.Archive2.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Archive2/File.Archive2.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Archive3/Example.cs +50 -0
- data/docs/examples/targets/Configuration API/File/Archive3/File.Archive3.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Archive3/File.Archive3.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Archive4/Example.cs +63 -0
- data/docs/examples/targets/Configuration API/File/Archive4/File.Archive4.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Archive4/File.Archive4.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Asynchronous/Example.cs +25 -0
- data/docs/examples/targets/Configuration API/File/Asynchronous/File.Asynchronous.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Asynchronous/File.Asynchronous.sln +20 -0
- data/docs/examples/targets/Configuration API/File/CSV/Example.cs +29 -0
- data/docs/examples/targets/Configuration API/File/CSV/File.CSV.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/CSV/File.CSV.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Multiple/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/File/Multiple/File.Multiple.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Multiple/File.Multiple.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Multiple2/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/File/Multiple2/File.Multiple2.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Multiple2/File.Multiple2.sln +20 -0
- data/docs/examples/targets/Configuration API/File/Simple/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/File/Simple/File.csproj +39 -0
- data/docs/examples/targets/Configuration API/File/Simple/File.sln +20 -0
- data/docs/examples/targets/Configuration API/FilteringWrapper/Simple/Example.cs +28 -0
- data/docs/examples/targets/Configuration API/FilteringWrapper/Simple/FilteringWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/FilteringWrapper/Simple/FilteringWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/FormControl/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/FormControl/Form1.Designer.cs +62 -0
- data/docs/examples/targets/Configuration API/FormControl/Form1.cs +36 -0
- data/docs/examples/targets/Configuration API/FormControl/Form1.resx +120 -0
- data/docs/examples/targets/Configuration API/FormControl/FormControl.csproj +81 -0
- data/docs/examples/targets/Configuration API/FormControl/FormControl.sln +20 -0
- data/docs/examples/targets/Configuration API/FormControl/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/targets/Configuration API/FormControl/Properties/Resources.Designer.cs +71 -0
- data/docs/examples/targets/Configuration API/FormControl/Properties/Resources.resx +117 -0
- data/docs/examples/targets/Configuration API/FormControl/Properties/Settings.Designer.cs +30 -0
- data/docs/examples/targets/Configuration API/FormControl/Properties/Settings.settings +7 -0
- data/docs/examples/targets/Configuration API/MSMQ/Multiple Queues/Example.cs +28 -0
- data/docs/examples/targets/Configuration API/MSMQ/Multiple Queues/MSMQ.Multiple Queues.csproj +39 -0
- data/docs/examples/targets/Configuration API/MSMQ/Multiple Queues/MSMQ.Multiple Queues.sln +20 -0
- data/docs/examples/targets/Configuration API/MSMQ/Simple/Example.cs +28 -0
- data/docs/examples/targets/Configuration API/MSMQ/Simple/MSMQ.csproj +39 -0
- data/docs/examples/targets/Configuration API/MSMQ/Simple/MSMQ.sln +20 -0
- data/docs/examples/targets/Configuration API/Mail/Buffered/Example.cs +48 -0
- data/docs/examples/targets/Configuration API/Mail/Buffered/Mail.Buffered.csproj +39 -0
- data/docs/examples/targets/Configuration API/Mail/Buffered/Mail.Buffered.sln +20 -0
- data/docs/examples/targets/Configuration API/Mail/Simple/Example.cs +33 -0
- data/docs/examples/targets/Configuration API/Mail/Simple/Mail.csproj +39 -0
- data/docs/examples/targets/Configuration API/Mail/Simple/Mail.sln +20 -0
- data/docs/examples/targets/Configuration API/Memory/Simple/Example.cs +23 -0
- data/docs/examples/targets/Configuration API/Memory/Simple/Memory.csproj +39 -0
- data/docs/examples/targets/Configuration API/Memory/Simple/Memory.sln +20 -0
- data/docs/examples/targets/Configuration API/MessageBox/Simple/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/MessageBox/Simple/MessageBox.csproj +39 -0
- data/docs/examples/targets/Configuration API/MessageBox/Simple/MessageBox.sln +20 -0
- data/docs/examples/targets/Configuration API/MethodCall/Simple/Example.cs +27 -0
- data/docs/examples/targets/Configuration API/MethodCall/Simple/MethodCall.csproj +39 -0
- data/docs/examples/targets/Configuration API/MethodCall/Simple/MethodCall.sln +20 -0
- data/docs/examples/targets/Configuration API/NLogViewer/Simple/Example.cs +21 -0
- data/docs/examples/targets/Configuration API/NLogViewer/Simple/NLogViewer.csproj +39 -0
- data/docs/examples/targets/Configuration API/NLogViewer/Simple/NLogViewer.sln +20 -0
- data/docs/examples/targets/Configuration API/Network/Simple/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/Network/Simple/Network.csproj +39 -0
- data/docs/examples/targets/Configuration API/Network/Simple/Network.sln +20 -0
- data/docs/examples/targets/Configuration API/Null/Simple/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/Null/Simple/Null.csproj +40 -0
- data/docs/examples/targets/Configuration API/Null/Simple/Null.sln +20 -0
- data/docs/examples/targets/Configuration API/OutputDebugString/Simple/Example.cs +19 -0
- data/docs/examples/targets/Configuration API/OutputDebugString/Simple/OutputDebugString.csproj +40 -0
- data/docs/examples/targets/Configuration API/OutputDebugString/Simple/OutputDebugString.sln +20 -0
- data/docs/examples/targets/Configuration API/PerfCounter/Simple/Example.cs +24 -0
- data/docs/examples/targets/Configuration API/PerfCounter/Simple/PerfCounter.csproj +40 -0
- data/docs/examples/targets/Configuration API/PerfCounter/Simple/PerfCounter.sln +20 -0
- data/docs/examples/targets/Configuration API/PostFilteringWrapper/Simple/Example.cs +41 -0
- data/docs/examples/targets/Configuration API/PostFilteringWrapper/Simple/PostFilteringWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/PostFilteringWrapper/Simple/PostFilteringWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/RandomizeGroup/Simple/Example.cs +27 -0
- data/docs/examples/targets/Configuration API/RandomizeGroup/Simple/RandomizeGroup.csproj +40 -0
- data/docs/examples/targets/Configuration API/RandomizeGroup/Simple/RandomizeGroup.sln +20 -0
- data/docs/examples/targets/Configuration API/RepeatingWrapper/Simple/Example.cs +24 -0
- data/docs/examples/targets/Configuration API/RepeatingWrapper/Simple/RepeatingWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/RepeatingWrapper/Simple/RepeatingWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/RetryingWrapper/Simple/Example.cs +25 -0
- data/docs/examples/targets/Configuration API/RetryingWrapper/Simple/RetryingWrapper.csproj +40 -0
- data/docs/examples/targets/Configuration API/RetryingWrapper/Simple/RetryingWrapper.sln +20 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Form1.Designer.cs +61 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Form1.cs +46 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Form1.resx +120 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Resources.Designer.cs +71 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Resources.resx +117 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Settings.Designer.cs +30 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Settings.settings +7 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/RichTextBox.RowColoring.csproj +81 -0
- data/docs/examples/targets/Configuration API/RichTextBox/RowColoring/RichTextBox.RowColoring.sln +20 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Form1.Designer.cs +61 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Form1.cs +36 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Form1.resx +120 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Properties/Resources.Designer.cs +71 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Properties/Resources.resx +117 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Properties/Settings.Designer.cs +30 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/Properties/Settings.settings +7 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/RichTextBox.csproj +81 -0
- data/docs/examples/targets/Configuration API/RichTextBox/Simple/RichTextBox.sln +20 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Example.cs +22 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Form1.Designer.cs +61 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Form1.cs +46 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Form1.resx +120 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Properties/AssemblyInfo.cs +33 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Resources.Designer.cs +71 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Resources.resx +117 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Settings.Designer.cs +30 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Settings.settings +7 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/RichTextBox.WordColoring.csproj +81 -0
- data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/RichTextBox.WordColoring.sln +20 -0
- data/docs/examples/targets/Configuration API/RoundRobinGroup/Simple/Example.cs +27 -0
- data/docs/examples/targets/Configuration API/RoundRobinGroup/Simple/RoundRobinGroup.csproj +40 -0
- data/docs/examples/targets/Configuration API/RoundRobinGroup/Simple/RoundRobinGroup.sln +20 -0
- data/docs/examples/targets/Configuration API/SplitGroup/Simple/Example.cs +27 -0
- data/docs/examples/targets/Configuration API/SplitGroup/Simple/SplitGroup.csproj +40 -0
- data/docs/examples/targets/Configuration API/SplitGroup/Simple/SplitGroup.sln +20 -0
- data/docs/examples/targets/Configuration API/Template.csproj +39 -0
- data/docs/examples/targets/Configuration API/Template.sln +20 -0
- data/docs/examples/targets/Configuration API/Trace/Simple/Example.cs +21 -0
- data/docs/examples/targets/Configuration API/Trace/Simple/Trace.csproj +40 -0
- data/docs/examples/targets/Configuration API/Trace/Simple/Trace.sln +20 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/Example.cs +28 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService.csproj +39 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService.sln +26 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService1/Properties/AssemblyInfo.cs +13 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService1/Service1.asmx +1 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService1/Service1.asmx.cs +24 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService1/Web.config +36 -0
- data/docs/examples/targets/Configuration API/WebService/Simple/WebService1/WebService1.csproj +77 -0
- data/docs/examples/targets/Configuration API/makeproject.pl +37 -0
- data/docs/examples/targets/Configuration File/ASPNetBufferingWrapper/web.nlog +15 -0
- data/docs/examples/targets/Configuration File/ASPNetTrace/web.nlog +10 -0
- data/docs/examples/targets/Configuration File/AsyncWrapper/NLog.config +17 -0
- data/docs/examples/targets/Configuration File/AutoFlushWrapper/NLog.config +13 -0
- data/docs/examples/targets/Configuration File/BufferingWrapper/NLog.config +13 -0
- data/docs/examples/targets/Configuration File/Chainsaw/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/ColoredConsole/Row Highlighting/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/ColoredConsole/Simple/NLog.config +12 -0
- data/docs/examples/targets/Configuration File/ColoredConsole/Word Highlighting/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/Console/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/Database/MSSQL/NLog.config +30 -0
- data/docs/examples/targets/Configuration File/Database/MSSQL/create_nlog_database.bat +21 -0
- data/docs/examples/targets/Configuration File/Database/MSSQL/create_nlog_database.sql +35 -0
- data/docs/examples/targets/Configuration File/Database/MSSQL/drop_nlog_database.bat +19 -0
- data/docs/examples/targets/Configuration File/Database/MSSQL/drop_nlog_database.sql +4 -0
- data/docs/examples/targets/Configuration File/Database/Oracle.Native/NLog.config +23 -0
- data/docs/examples/targets/Configuration File/Database/Oracle.OleDb/NLog.config +22 -0
- data/docs/examples/targets/Configuration File/Debug/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/Debugger/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/EventLog/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/FallbackGroup/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/File/Archive1/NLog.config +20 -0
- data/docs/examples/targets/Configuration File/File/Archive2/NLog.config +20 -0
- data/docs/examples/targets/Configuration File/File/Archive3/NLog.config +22 -0
- data/docs/examples/targets/Configuration File/File/Archive4/NLog.config +22 -0
- data/docs/examples/targets/Configuration File/File/Asynchronous/NLog.config +18 -0
- data/docs/examples/targets/Configuration File/File/CSV/NLog.config +18 -0
- data/docs/examples/targets/Configuration File/File/Multiple/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/File/Multiple2/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/File/Simple/NLog.config +16 -0
- data/docs/examples/targets/Configuration File/FilteringWrapper/NLog.config +13 -0
- data/docs/examples/targets/Configuration File/FormControl/NLog.config +12 -0
- data/docs/examples/targets/Configuration File/MSMQ/Multiple/NLog.config +17 -0
- data/docs/examples/targets/Configuration File/MSMQ/Simple/NLog.config +17 -0
- data/docs/examples/targets/Configuration File/Mail/Buffered/NLog.config +18 -0
- data/docs/examples/targets/Configuration File/Mail/Simple/NLog.config +16 -0
- data/docs/examples/targets/Configuration File/Memory/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/MessageBox/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/MethodCall/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/NLogViewer/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/Network/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/Null/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/OutputDebugString/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/PerfCounter/NLog.config +12 -0
- data/docs/examples/targets/Configuration File/PostFilteringWrapper/NLog.config +16 -0
- data/docs/examples/targets/Configuration File/RandomizeGroup/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/RepeatingWrapper/NLog.config +13 -0
- data/docs/examples/targets/Configuration File/RetryingWrapper/NLog.config +13 -0
- data/docs/examples/targets/Configuration File/RichTextBox/RowColoring/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/RichTextBox/Simple/NLog.config +12 -0
- data/docs/examples/targets/Configuration File/RichTextBox/WordColoring/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/RoundRobinGroup/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/SplitGroup/NLog.config +14 -0
- data/docs/examples/targets/Configuration File/Trace/NLog.config +11 -0
- data/docs/examples/targets/Configuration File/WebService/NLog.config +17 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/Properties/AssemblyInfo.cs +13 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/Service1.asmx +1 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/Service1.asmx.cs +24 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/Web.config +36 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/WebService1.csproj +77 -0
- data/docs/examples/targets/Configuration File/WebService/WebService1/WebService1.sln +20 -0
- data/docs/examples/targets/Screenshots/ASPNetTrace/ASPNetTraceOutput1.gif +0 -0
- data/docs/examples/targets/Screenshots/ASPNetTrace/ASPNetTraceOutput2.gif +0 -0
- data/docs/examples/targets/Screenshots/ColoredConsole/Row Highlighting.gif +0 -0
- data/docs/examples/targets/Screenshots/ColoredConsole/Simple.gif +0 -0
- data/docs/examples/targets/Screenshots/ColoredConsole/Word Highlighting.gif +0 -0
- data/docs/examples/targets/Screenshots/FormControl/FormControl.gif +0 -0
- data/docs/examples/targets/Screenshots/MessageBox/MessageBoxTarget.gif +0 -0
- data/docs/examples/targets/Screenshots/Network/Output.gif +0 -0
- data/docs/examples/targets/Screenshots/RichTextBox/RowColoring.gif +0 -0
- data/docs/examples/targets/Screenshots/RichTextBox/Simple.gif +0 -0
- data/docs/examples/targets/Screenshots/RichTextBox/WordColoring.gif +0 -0
- data/docs/examples/web/AddFilter.cs +6 -0
- data/docs/examples/web/AddLayoutRenderer.cs +6 -0
- data/docs/examples/web/AddTarget.cs +6 -0
- data/docs/examples/web/GetCurrentClassLogger.cs +11 -0
- data/docs/examples/web/GetLogger.cs +11 -0
- data/docs/examples/web/MyFirstFilter.cs +35 -0
- data/docs/examples/web/MyFirstLayoutRenderer.cs +41 -0
- data/docs/examples/web/MyFirstTarget.cs +28 -0
- data/docs/examples/web/NLogC.cpp +26 -0
- data/docs/examples/web/NLogCdef.cpp +28 -0
- data/docs/examples/web/Performance.cs +16 -0
- data/docs/examples/web/app.config +10 -0
- data/docs/examples/web/article1.cs +21 -0
- data/docs/examples/web/article2.cs +33 -0
- data/docs/examples/web/article3.nlog +9 -0
- data/docs/examples/web/article4.nlog +9 -0
- data/docs/examples/web/article5.nlog +24 -0
- data/docs/examples/web/article6.nlog +7 -0
- data/docs/examples/web/benchmark_log4net.cs +30 -0
- data/docs/examples/web/benchmark_nlog.cs +29 -0
- data/docs/examples/web/config1.nlog +4 -0
- data/docs/examples/web/config10.nlog +18 -0
- data/docs/examples/web/config11.nlog +14 -0
- data/docs/examples/web/config12.nlog +4 -0
- data/docs/examples/web/config2.nlog +3 -0
- data/docs/examples/web/config3.nlog +24 -0
- data/docs/examples/web/config4.nlog +25 -0
- data/docs/examples/web/config5.nlog +10 -0
- data/docs/examples/web/config6.nlog +23 -0
- data/docs/examples/web/config7.nlog +14 -0
- data/docs/examples/web/config8.nlog +9 -0
- data/docs/examples/web/config8a.nlog +9 -0
- data/docs/examples/web/config9.nlog +14 -0
- data/docs/examples/web/test.js +44 -0
- data/docs/examples/web/test.vbs +46 -0
- data/docs/examples/web/tutorial.cs +37 -0
- data/lib/Mono 1.0/NLog.dll +0 -0
- data/lib/Mono 1.0/NLog.xml +12948 -0
- data/lib/Mono 1.0/NLog.xsd +1566 -0
- data/lib/Mono 1.0/Policy.1.0.NLog.dll +0 -0
- data/lib/Mono 1.0/Policy.1.0.NLog.xml +11 -0
- data/lib/Mono 2.0/NLog.dll +0 -0
- data/lib/Mono 2.0/NLog.xml +12969 -0
- data/lib/Mono 2.0/NLog.xsd +1566 -0
- data/lib/Mono 2.0/Policy.1.0.NLog.dll +0 -0
- data/lib/Mono 2.0/Policy.1.0.NLog.xml +11 -0
- metadata +410 -0
data/docs/examples/targets/Configuration API/RichTextBox/WordColoring/RichTextBox.WordColoring.sln
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RichTextBox", "RichTextBox.WordColoring.csproj", "{20449142-40C3-4B1D-8F7C-2D3ED924FDA7}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{20449142-40C3-4B1D-8F7C-2D3ED924FDA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{20449142-40C3-4B1D-8F7C-2D3ED924FDA7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{20449142-40C3-4B1D-8F7C-2D3ED924FDA7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{20449142-40C3-4B1D-8F7C-2D3ED924FDA7}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,27 @@
|
|
1
|
+
using System;
|
2
|
+
|
3
|
+
using NLog;
|
4
|
+
using NLog.Targets;
|
5
|
+
using NLog.Targets.Compound;
|
6
|
+
using System.Diagnostics;
|
7
|
+
|
8
|
+
class Example
|
9
|
+
{
|
10
|
+
static void Main(string[] args)
|
11
|
+
{
|
12
|
+
FileTarget file1 = new FileTarget();
|
13
|
+
file1.FileName = "${basedir}/file1.txt";
|
14
|
+
|
15
|
+
FileTarget file2 = new FileTarget();
|
16
|
+
file2.FileName = "${basedir}/file2.txt";
|
17
|
+
|
18
|
+
RoundRobinTarget target = new RoundRobinTarget();
|
19
|
+
target.Targets.Add(file1);
|
20
|
+
target.Targets.Add(file2);
|
21
|
+
|
22
|
+
NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug);
|
23
|
+
|
24
|
+
Logger logger = LogManager.GetLogger("Example");
|
25
|
+
logger.Debug("log message");
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
4
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
5
|
+
<ProjectGuid>{67EE6098-74A6-456F-8D27-C0D38D0A9B22}</ProjectGuid>
|
6
|
+
<OutputType>Exe</OutputType>
|
7
|
+
<NoStandardLibraries>false</NoStandardLibraries>
|
8
|
+
<AssemblyName>RoundRobinGroup</AssemblyName>
|
9
|
+
<RootNamespace>
|
10
|
+
</RootNamespace>
|
11
|
+
</PropertyGroup>
|
12
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
13
|
+
<DebugSymbols>true</DebugSymbols>
|
14
|
+
<DebugType>full</DebugType>
|
15
|
+
<Optimize>false</Optimize>
|
16
|
+
<OutputPath>.\bin\Debug\</OutputPath>
|
17
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
18
|
+
</PropertyGroup>
|
19
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
20
|
+
<DebugType>pdbonly</DebugType>
|
21
|
+
<Optimize>true</Optimize>
|
22
|
+
<OutputPath>.\bin\Release\</OutputPath>
|
23
|
+
<DefineConstants>TRACE</DefineConstants>
|
24
|
+
</PropertyGroup>
|
25
|
+
<ItemGroup>
|
26
|
+
<Reference Include="NLog">
|
27
|
+
<SpecificVersion>False</SpecificVersion>
|
28
|
+
</Reference>
|
29
|
+
<Reference Include="System" />
|
30
|
+
<Reference Include="System.Data" />
|
31
|
+
<Reference Include="System.Xml" />
|
32
|
+
</ItemGroup>
|
33
|
+
<ItemGroup>
|
34
|
+
<Compile Include="Example.cs" />
|
35
|
+
</ItemGroup>
|
36
|
+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
37
|
+
<ProjectExtensions>
|
38
|
+
<VisualStudio AllowExistingFolder="true" />
|
39
|
+
</ProjectExtensions>
|
40
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RoundRobinGroup", "RoundRobinGroup.csproj", "{67EE6098-74A6-456F-8D27-C0D38D0A9B22}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{67EE6098-74A6-456F-8D27-C0D38D0A9B22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{67EE6098-74A6-456F-8D27-C0D38D0A9B22}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{67EE6098-74A6-456F-8D27-C0D38D0A9B22}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{67EE6098-74A6-456F-8D27-C0D38D0A9B22}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,27 @@
|
|
1
|
+
using System;
|
2
|
+
|
3
|
+
using NLog;
|
4
|
+
using NLog.Targets;
|
5
|
+
using NLog.Targets.Compound;
|
6
|
+
using System.Diagnostics;
|
7
|
+
|
8
|
+
class Example
|
9
|
+
{
|
10
|
+
static void Main(string[] args)
|
11
|
+
{
|
12
|
+
FileTarget file1 = new FileTarget();
|
13
|
+
file1.FileName = "${basedir}/file1.txt";
|
14
|
+
|
15
|
+
FileTarget file2 = new FileTarget();
|
16
|
+
file2.FileName = "${basedir}/file2.txt";
|
17
|
+
|
18
|
+
SplitTarget target = new SplitTarget();
|
19
|
+
target.Targets.Add(file1);
|
20
|
+
target.Targets.Add(file2);
|
21
|
+
|
22
|
+
NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug);
|
23
|
+
|
24
|
+
Logger logger = LogManager.GetLogger("Example");
|
25
|
+
logger.Debug("log message");
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
4
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
5
|
+
<ProjectGuid>{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}</ProjectGuid>
|
6
|
+
<OutputType>Exe</OutputType>
|
7
|
+
<NoStandardLibraries>false</NoStandardLibraries>
|
8
|
+
<AssemblyName>SplitGroup</AssemblyName>
|
9
|
+
<RootNamespace>
|
10
|
+
</RootNamespace>
|
11
|
+
</PropertyGroup>
|
12
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
13
|
+
<DebugSymbols>true</DebugSymbols>
|
14
|
+
<DebugType>full</DebugType>
|
15
|
+
<Optimize>false</Optimize>
|
16
|
+
<OutputPath>.\bin\Debug\</OutputPath>
|
17
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
18
|
+
</PropertyGroup>
|
19
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
20
|
+
<DebugType>pdbonly</DebugType>
|
21
|
+
<Optimize>true</Optimize>
|
22
|
+
<OutputPath>.\bin\Release\</OutputPath>
|
23
|
+
<DefineConstants>TRACE</DefineConstants>
|
24
|
+
</PropertyGroup>
|
25
|
+
<ItemGroup>
|
26
|
+
<Reference Include="NLog">
|
27
|
+
<SpecificVersion>False</SpecificVersion>
|
28
|
+
</Reference>
|
29
|
+
<Reference Include="System" />
|
30
|
+
<Reference Include="System.Data" />
|
31
|
+
<Reference Include="System.Xml" />
|
32
|
+
</ItemGroup>
|
33
|
+
<ItemGroup>
|
34
|
+
<Compile Include="Example.cs" />
|
35
|
+
</ItemGroup>
|
36
|
+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
37
|
+
<ProjectExtensions>
|
38
|
+
<VisualStudio AllowExistingFolder="true" />
|
39
|
+
</ProjectExtensions>
|
40
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SplitGroup", "SplitGroup.csproj", "{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{6C8815D6-62F5-4DED-AE3F-0AF4D0178CDB}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
4
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
5
|
+
<ProjectGuid>{_PROJECT_GUID_}</ProjectGuid>
|
6
|
+
<OutputType>Exe</OutputType>
|
7
|
+
<NoStandardLibraries>false</NoStandardLibraries>
|
8
|
+
<AssemblyName>_PROJECT_NAME_</AssemblyName>
|
9
|
+
<RootNamespace></RootNamespace>
|
10
|
+
</PropertyGroup>
|
11
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
12
|
+
<DebugSymbols>true</DebugSymbols>
|
13
|
+
<DebugType>full</DebugType>
|
14
|
+
<Optimize>false</Optimize>
|
15
|
+
<OutputPath>.\bin\Debug\</OutputPath>
|
16
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
17
|
+
</PropertyGroup>
|
18
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
19
|
+
<DebugType>pdbonly</DebugType>
|
20
|
+
<Optimize>true</Optimize>
|
21
|
+
<OutputPath>.\bin\Release\</OutputPath>
|
22
|
+
<DefineConstants>TRACE</DefineConstants>
|
23
|
+
</PropertyGroup>
|
24
|
+
<ItemGroup>
|
25
|
+
<Reference Include="NLog">
|
26
|
+
<SpecificVersion>False</SpecificVersion>
|
27
|
+
</Reference>
|
28
|
+
<Reference Include="System" />
|
29
|
+
<Reference Include="System.Data" />
|
30
|
+
<Reference Include="System.Xml" />
|
31
|
+
</ItemGroup>
|
32
|
+
<ItemGroup>
|
33
|
+
<Compile Include="Example.cs" />
|
34
|
+
</ItemGroup>
|
35
|
+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
36
|
+
<ProjectExtensions>
|
37
|
+
<VisualStudio AllowExistingFolder="true" />
|
38
|
+
</ProjectExtensions>
|
39
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "_PROJECT_NAME_", "_PROJECT_NAME_.csproj", "{_PROJECT_GUID_}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{_PROJECT_GUID_}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{_PROJECT_GUID_}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{_PROJECT_GUID_}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{_PROJECT_GUID_}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,21 @@
|
|
1
|
+
using System;
|
2
|
+
|
3
|
+
using NLog;
|
4
|
+
using NLog.Targets;
|
5
|
+
using System.Diagnostics;
|
6
|
+
|
7
|
+
class Example
|
8
|
+
{
|
9
|
+
static void Main(string[] args)
|
10
|
+
{
|
11
|
+
Trace.Listeners.Add(new ConsoleTraceListener());
|
12
|
+
|
13
|
+
TraceTarget target = new TraceTarget();
|
14
|
+
target.Layout = "${message}";
|
15
|
+
|
16
|
+
NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug);
|
17
|
+
|
18
|
+
Logger logger = LogManager.GetLogger("Example");
|
19
|
+
logger.Debug("log message");
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
4
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
5
|
+
<ProjectGuid>{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}</ProjectGuid>
|
6
|
+
<OutputType>Exe</OutputType>
|
7
|
+
<NoStandardLibraries>false</NoStandardLibraries>
|
8
|
+
<AssemblyName>Trace</AssemblyName>
|
9
|
+
<RootNamespace>
|
10
|
+
</RootNamespace>
|
11
|
+
</PropertyGroup>
|
12
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
13
|
+
<DebugSymbols>true</DebugSymbols>
|
14
|
+
<DebugType>full</DebugType>
|
15
|
+
<Optimize>false</Optimize>
|
16
|
+
<OutputPath>.\bin\Debug\</OutputPath>
|
17
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
18
|
+
</PropertyGroup>
|
19
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
20
|
+
<DebugType>pdbonly</DebugType>
|
21
|
+
<Optimize>true</Optimize>
|
22
|
+
<OutputPath>.\bin\Release\</OutputPath>
|
23
|
+
<DefineConstants>TRACE</DefineConstants>
|
24
|
+
</PropertyGroup>
|
25
|
+
<ItemGroup>
|
26
|
+
<Reference Include="NLog">
|
27
|
+
<SpecificVersion>False</SpecificVersion>
|
28
|
+
</Reference>
|
29
|
+
<Reference Include="System" />
|
30
|
+
<Reference Include="System.Data" />
|
31
|
+
<Reference Include="System.Xml" />
|
32
|
+
</ItemGroup>
|
33
|
+
<ItemGroup>
|
34
|
+
<Compile Include="Example.cs" />
|
35
|
+
</ItemGroup>
|
36
|
+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
37
|
+
<ProjectExtensions>
|
38
|
+
<VisualStudio AllowExistingFolder="true" />
|
39
|
+
</ProjectExtensions>
|
40
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Trace", "Trace.csproj", "{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{DE02AB34-33D1-42CA-A3F0-68F4B1BF98B1}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,28 @@
|
|
1
|
+
using NLog;
|
2
|
+
using NLog.Targets;
|
3
|
+
|
4
|
+
class Example
|
5
|
+
{
|
6
|
+
static void Main(string[] args)
|
7
|
+
{
|
8
|
+
WebServiceTarget target = new WebServiceTarget();
|
9
|
+
target.Url = "http://localhost:2648/Service1.asmx";
|
10
|
+
target.MethodName = "HelloWorld";
|
11
|
+
target.Namespace = "http://www.nlog-project.org/example";
|
12
|
+
target.Protocol = WebServiceTarget.WebServiceProtocol.Soap11;
|
13
|
+
|
14
|
+
target.Parameters.Add(new MethodCallParameter("n1", "${message}"));
|
15
|
+
target.Parameters.Add(new MethodCallParameter("n2", "${logger}"));
|
16
|
+
target.Parameters.Add(new MethodCallParameter("n3", "${level}"));
|
17
|
+
|
18
|
+
NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug);
|
19
|
+
|
20
|
+
Logger logger = LogManager.GetLogger("Example");
|
21
|
+
logger.Trace("log message 1");
|
22
|
+
logger.Debug("log message 2");
|
23
|
+
logger.Info("log message 3");
|
24
|
+
logger.Warn("log message 4");
|
25
|
+
logger.Error("log message 5");
|
26
|
+
logger.Fatal("log message 6");
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2
|
+
<PropertyGroup>
|
3
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
4
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
5
|
+
<ProjectGuid>{70F18C83-2063-4D7F-96A9-4B1DA6752C95}</ProjectGuid>
|
6
|
+
<OutputType>Exe</OutputType>
|
7
|
+
<NoStandardLibraries>false</NoStandardLibraries>
|
8
|
+
<AssemblyName>WebService</AssemblyName>
|
9
|
+
<RootNamespace></RootNamespace>
|
10
|
+
</PropertyGroup>
|
11
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
12
|
+
<DebugSymbols>true</DebugSymbols>
|
13
|
+
<DebugType>full</DebugType>
|
14
|
+
<Optimize>false</Optimize>
|
15
|
+
<OutputPath>.\bin\Debug\</OutputPath>
|
16
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
17
|
+
</PropertyGroup>
|
18
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
19
|
+
<DebugType>pdbonly</DebugType>
|
20
|
+
<Optimize>true</Optimize>
|
21
|
+
<OutputPath>.\bin\Release\</OutputPath>
|
22
|
+
<DefineConstants>TRACE</DefineConstants>
|
23
|
+
</PropertyGroup>
|
24
|
+
<ItemGroup>
|
25
|
+
<Reference Include="NLog">
|
26
|
+
<SpecificVersion>False</SpecificVersion>
|
27
|
+
</Reference>
|
28
|
+
<Reference Include="System" />
|
29
|
+
<Reference Include="System.Data" />
|
30
|
+
<Reference Include="System.Xml" />
|
31
|
+
</ItemGroup>
|
32
|
+
<ItemGroup>
|
33
|
+
<Compile Include="Example.cs" />
|
34
|
+
</ItemGroup>
|
35
|
+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
|
36
|
+
<ProjectExtensions>
|
37
|
+
<VisualStudio AllowExistingFolder="true" />
|
38
|
+
</ProjectExtensions>
|
39
|
+
</Project>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebService", "WebService.csproj", "{70F18C83-2063-4D7F-96A9-4B1DA6752C95}"
|
5
|
+
EndProject
|
6
|
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebService1", "WebService1\WebService1.csproj", "{7E750696-C0EC-4B2C-B870-331A54F25CA4}"
|
7
|
+
EndProject
|
8
|
+
Global
|
9
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
10
|
+
Debug|Any CPU = Debug|Any CPU
|
11
|
+
Release|Any CPU = Release|Any CPU
|
12
|
+
EndGlobalSection
|
13
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
14
|
+
{70F18C83-2063-4D7F-96A9-4B1DA6752C95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
15
|
+
{70F18C83-2063-4D7F-96A9-4B1DA6752C95}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
16
|
+
{70F18C83-2063-4D7F-96A9-4B1DA6752C95}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
17
|
+
{70F18C83-2063-4D7F-96A9-4B1DA6752C95}.Release|Any CPU.Build.0 = Release|Any CPU
|
18
|
+
{7E750696-C0EC-4B2C-B870-331A54F25CA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
19
|
+
{7E750696-C0EC-4B2C-B870-331A54F25CA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
20
|
+
{7E750696-C0EC-4B2C-B870-331A54F25CA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
21
|
+
{7E750696-C0EC-4B2C-B870-331A54F25CA4}.Release|Any CPU.Build.0 = Release|Any CPU
|
22
|
+
EndGlobalSection
|
23
|
+
GlobalSection(SolutionProperties) = preSolution
|
24
|
+
HideSolutionNode = FALSE
|
25
|
+
EndGlobalSection
|
26
|
+
EndGlobal
|