Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed CRLF across the project

  • Loading branch information...
commit f2e44e586312efdc70131f2cdac8de12e687d5e5 1 parent a430074
@jkowalski jkowalski authored
Showing with 10,803 additions and 10,803 deletions.
  1. +3 −3 .gitignore
  2. +634 −634 ChangeLog
  3. +32 −32 LICENSE.txt
  4. +24 −24 README.rdoc
  5. +201 −201 build.cmd
  6. +1 −1  build/README.txt
  7. +52 −52 examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.csproj
  8. +20 −20 examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.sln
  9. +16 −16 examples/ExtendingLoggers/InheritFromLogger/NLog.config
  10. +87 −87 examples/ExtendingLoggers/InheritFromLogger/Program.cs
  11. +33 −33 examples/ExtendingLoggers/InheritFromLogger/Properties/AssemblyInfo.cs
  12. +52 −52 examples/ExtendingLoggers/LoggerWrapper/LoggerWrapper.csproj
  13. +20 −20 examples/ExtendingLoggers/LoggerWrapper/LoggerWrapper.sln
  14. +12 −12 examples/ExtendingLoggers/LoggerWrapper/NLog.config
  15. +85 −85 examples/ExtendingLoggers/LoggerWrapper/Program.cs
  16. +33 −33 examples/ExtendingLoggers/LoggerWrapper/Properties/AssemblyInfo.cs
  17. +39 −39 examples/ExtendingLoggers/README.html
  18. +16 −16 examples/NLogSilverlightApp.Web/Default.aspx
  19. +17 −17 examples/NLogSilverlightApp.Web/Default.aspx.cs
  20. +27 −27 examples/NLogSilverlightApp.Web/Default.aspx.designer.cs
  21. +16 −16 examples/NLogSilverlightApp.Web/NLog.config
  22. +1 −1  examples/NLogSilverlightApp.Web/NLogReceiver.svc
  23. +33 −33 examples/NLogSilverlightApp.Web/NLogReceiver.svc.cs
  24. +120 −120 examples/NLogSilverlightApp.Web/NLogSilverlightApp.Web.csproj
  25. +74 −74 examples/NLogSilverlightApp.Web/NLogSilverlightAppTestPage.aspx
  26. +73 −73 examples/NLogSilverlightApp.Web/NLogSilverlightAppTestPage.html
  27. +35 −35 examples/NLogSilverlightApp.Web/Properties/AssemblyInfo.cs
  28. +1 −1  examples/NLogSilverlightApp.Web/Silverlight.js
  29. +129 −129 examples/NLogSilverlightApp.Web/Web.config
  30. +8 −8 examples/NLogSilverlightApp/App.xaml
  31. +88 −88 examples/NLogSilverlightApp/App.xaml.cs
  32. +12 −12 examples/NLogSilverlightApp/MainPage.xaml
  33. +33 −33 examples/NLogSilverlightApp/MainPage.xaml.cs
  34. +1 −1  examples/NLogSilverlightApp/NLog.config
  35. +102 −102 examples/NLogSilverlightApp/NLogSilverlightApp.csproj
  36. +7 −7 examples/NLogSilverlightApp/Properties/AppManifest.xml
  37. +35 −35 examples/NLogSilverlightApp/Properties/AssemblyInfo.cs
  38. +23 −23 examples/NLogSilverlightApp/ServiceReferences.ClientConfig
  39. +103 −103 examples/targets/Configuration API/ASPNetBufferingWrapper/ASPNetBufferingWrapper.csproj
  40. +20 −20 examples/targets/Configuration API/ASPNetBufferingWrapper/ASPNetBufferingWrapper.sln
  41. +1 −1  examples/targets/Configuration API/ASPNetBufferingWrapper/Global.asax
  42. +39 −39 examples/targets/Configuration API/ASPNetBufferingWrapper/Global.asax.cs
  43. +16 −16 examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx
  44. +30 −30 examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.cs
  45. +18 −18 examples/targets/Configuration API/ASPNetBufferingWrapper/NormalPage.aspx.designer.cs
  46. +16 −16 examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx
  47. +32 −32 examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx.cs
  48. +18 −18 examples/targets/Configuration API/ASPNetBufferingWrapper/PageWithWarnings.aspx.designer.cs
  49. +10 −10 examples/targets/Configuration API/ASPNetBufferingWrapper/Properties/AssemblyInfo.cs
  50. +22 −22 examples/targets/Configuration API/ASPNetBufferingWrapper/Web.config
  51. +134 −134 examples/targets/Configuration API/ASPNetTrace/ASPNetTraceTest.csproj
  52. +20 −20 examples/targets/Configuration API/ASPNetTrace/ASPNetTraceTest.sln
  53. +25 −25 examples/targets/Configuration API/ASPNetTrace/Global.asax.cs
  54. +4 −4 examples/targets/Configuration API/ASPNetTrace/README.txt
  55. +1 −1  examples/targets/Configuration API/ASPNetTrace/global.asax
  56. +23 −23 examples/targets/Configuration API/ASPNetTrace/test.aspx
  57. +8 −8 examples/targets/Configuration API/ASPNetTrace/web.config
  58. +326 −326 examples/targets/Configuration API/All_Targets.sln
  59. +47 −47 examples/targets/Configuration API/AsyncWrapper/Wrapping File/AsyncWrapper.Wrapping File.csproj
  60. +20 −20 examples/targets/Configuration API/AsyncWrapper/Wrapping File/AsyncWrapper.Wrapping File.sln
  61. +28 −28 examples/targets/Configuration API/AsyncWrapper/Wrapping File/Example.cs
  62. +47 −47 examples/targets/Configuration API/AutoFlushWrapper/Simple/AutoFlushWrapper.csproj
  63. +20 −20 examples/targets/Configuration API/AutoFlushWrapper/Simple/AutoFlushWrapper.sln
  64. +23 −23 examples/targets/Configuration API/AutoFlushWrapper/Simple/Example.cs
  65. +47 −47 examples/targets/Configuration API/BufferingWrapper/Simple/BufferingWrapper.csproj
  66. +20 −20 examples/targets/Configuration API/BufferingWrapper/Simple/BufferingWrapper.sln
  67. +24 −24 examples/targets/Configuration API/BufferingWrapper/Simple/Example.cs
  68. +47 −47 examples/targets/Configuration API/Chainsaw/Simple/Chainsaw.csproj
  69. +20 −20 examples/targets/Configuration API/Chainsaw/Simple/Chainsaw.sln
  70. +21 −21 examples/targets/Configuration API/Chainsaw/Simple/Example.cs
  71. +47 −47 examples/targets/Configuration API/ColoredConsole/Row Highlighting/ColoredConsole.Row Highlighting.csproj
  72. +20 −20 examples/targets/Configuration API/ColoredConsole/Row Highlighting/ColoredConsole.Row Highlighting.sln
  73. +44 −44 examples/targets/Configuration API/ColoredConsole/Row Highlighting/Example.cs
  74. +47 −47 examples/targets/Configuration API/ColoredConsole/Simple/ColoredConsole.csproj
  75. +20 −20 examples/targets/Configuration API/ColoredConsole/Simple/ColoredConsole.sln
  76. +21 −21 examples/targets/Configuration API/ColoredConsole/Simple/Example.cs
  77. +47 −47 examples/targets/Configuration API/ColoredConsole/Word Highlighting/ColoredConsole.Word Highlighting.csproj
  78. +20 −20 examples/targets/Configuration API/ColoredConsole/Word Highlighting/ColoredConsole.Word Highlighting.sln
  79. +30 −30 examples/targets/Configuration API/ColoredConsole/Word Highlighting/Example.cs
  80. +44 −44 examples/targets/Configuration API/Console/Simple/Console.csproj
  81. +20 −20 examples/targets/Configuration API/Console/Simple/Console.sln
  82. +16 −16 examples/targets/Configuration API/Console/Simple/Example.cs
  83. +47 −47 examples/targets/Configuration API/Database/MSSQL/Database.MSSQL.csproj
  84. +20 −20 examples/targets/Configuration API/Database/MSSQL/Database.MSSQL.sln
  85. +43 −43 examples/targets/Configuration API/Database/MSSQL/Example.cs
  86. +47 −47 examples/targets/Configuration API/Database/Oracle.Native/Database.Oracle.Native.csproj
  87. +20 −20 examples/targets/Configuration API/Database/Oracle.Native/Database.Oracle.Native.sln
  88. +28 −28 examples/targets/Configuration API/Database/Oracle.Native/Example.cs
  89. +47 −47 examples/targets/Configuration API/Database/Oracle.OleDb/Database.Oracle.OleDb.csproj
  90. +20 −20 examples/targets/Configuration API/Database/Oracle.OleDb/Database.Oracle.OleDb.sln
  91. +26 −26 examples/targets/Configuration API/Database/Oracle.OleDb/Example.cs
  92. +47 −47 examples/targets/Configuration API/Debug/Simple/Debug.csproj
  93. +20 −20 examples/targets/Configuration API/Debug/Simple/Debug.sln
  94. +22 −22 examples/targets/Configuration API/Debug/Simple/Example.cs
  95. +47 −47 examples/targets/Configuration API/Debugger/Simple/Debugger.csproj
  96. +20 −20 examples/targets/Configuration API/Debugger/Simple/Debugger.sln
  97. +18 −18 examples/targets/Configuration API/Debugger/Simple/Example.cs
  98. +47 −47 examples/targets/Configuration API/EventLog/Simple/EventLog.csproj
  99. +20 −20 examples/targets/Configuration API/EventLog/Simple/EventLog.sln
  100. +20 −20 examples/targets/Configuration API/EventLog/Simple/Example.cs
  101. +31 −31 examples/targets/Configuration API/FallbackGroup/Simple/Example.cs
  102. +47 −47 examples/targets/Configuration API/FallbackGroup/Simple/FallbackGroup.csproj
  103. +20 −20 examples/targets/Configuration API/FallbackGroup/Simple/FallbackGroup.sln
  104. +29 −29 examples/targets/Configuration API/File/Archive1/Example.cs
  105. +47 −47 examples/targets/Configuration API/File/Archive1/File.Archive1.csproj
  106. +20 −20 examples/targets/Configuration API/File/Archive1/File.Archive1.sln
  107. +46 −46 examples/targets/Configuration API/File/Archive2/Example.cs
  108. +47 −47 examples/targets/Configuration API/File/Archive2/File.Archive2.csproj
  109. +20 −20 examples/targets/Configuration API/File/Archive2/File.Archive2.sln
  110. +50 −50 examples/targets/Configuration API/File/Archive3/Example.cs
  111. +47 −47 examples/targets/Configuration API/File/Archive3/File.Archive3.csproj
  112. +20 −20 examples/targets/Configuration API/File/Archive3/File.Archive3.sln
  113. +63 −63 examples/targets/Configuration API/File/Archive4/Example.cs
  114. +47 −47 examples/targets/Configuration API/File/Archive4/File.Archive4.csproj
  115. +20 −20 examples/targets/Configuration API/File/Archive4/File.Archive4.sln
  116. +26 −26 examples/targets/Configuration API/File/Asynchronous/Example.cs
  117. +47 −47 examples/targets/Configuration API/File/Asynchronous/File.Asynchronous.csproj
  118. +20 −20 examples/targets/Configuration API/File/Asynchronous/File.Asynchronous.sln
  119. +29 −29 examples/targets/Configuration API/File/CSV/Example.cs
  120. +47 −47 examples/targets/Configuration API/File/CSV/File.CSV.csproj
  121. +20 −20 examples/targets/Configuration API/File/CSV/File.CSV.sln
  122. +20 −20 examples/targets/Configuration API/File/Multiple/Example.cs
  123. +47 −47 examples/targets/Configuration API/File/Multiple/File.Multiple.csproj
  124. +20 −20 examples/targets/Configuration API/File/Multiple/File.Multiple.sln
  125. +20 −20 examples/targets/Configuration API/File/Multiple2/Example.cs
  126. +47 −47 examples/targets/Configuration API/File/Multiple2/File.Multiple2.csproj
  127. +20 −20 examples/targets/Configuration API/File/Multiple2/File.Multiple2.sln
  128. +20 −20 examples/targets/Configuration API/File/Simple/Example.cs
  129. +47 −47 examples/targets/Configuration API/File/Simple/File.csproj
  130. +20 −20 examples/targets/Configuration API/File/Simple/File.sln
  131. +28 −28 examples/targets/Configuration API/FilteringWrapper/Simple/Example.cs
  132. +47 −47 examples/targets/Configuration API/FilteringWrapper/Simple/FilteringWrapper.csproj
  133. +20 −20 examples/targets/Configuration API/FilteringWrapper/Simple/FilteringWrapper.sln
  134. +21 −21 examples/targets/Configuration API/FormControl/Example.cs
  135. +62 −62 examples/targets/Configuration API/FormControl/Form1.Designer.cs
  136. +35 −35 examples/targets/Configuration API/FormControl/Form1.cs
  137. +119 −119 examples/targets/Configuration API/FormControl/Form1.resx
  138. +88 −88 examples/targets/Configuration API/FormControl/FormControl.csproj
  139. +20 −20 examples/targets/Configuration API/FormControl/FormControl.sln
  140. +33 −33 examples/targets/Configuration API/FormControl/Properties/AssemblyInfo.cs
  141. +63 −63 examples/targets/Configuration API/FormControl/Properties/Resources.Designer.cs
  142. +116 −116 examples/targets/Configuration API/FormControl/Properties/Resources.resx
  143. +26 −26 examples/targets/Configuration API/FormControl/Properties/Settings.Designer.cs
  144. +7 −7 examples/targets/Configuration API/FormControl/Properties/Settings.settings
  145. +28 −28 examples/targets/Configuration API/MSMQ/Multiple Queues/Example.cs
  146. +47 −47 examples/targets/Configuration API/MSMQ/Multiple Queues/MSMQ.Multiple Queues.csproj
  147. +20 −20 examples/targets/Configuration API/MSMQ/Multiple Queues/MSMQ.Multiple Queues.sln
  148. +28 −28 examples/targets/Configuration API/MSMQ/Simple/Example.cs
  149. +47 −47 examples/targets/Configuration API/MSMQ/Simple/MSMQ.csproj
  150. +20 −20 examples/targets/Configuration API/MSMQ/Simple/MSMQ.sln
  151. +48 −48 examples/targets/Configuration API/Mail/Buffered/Example.cs
  152. +47 −47 examples/targets/Configuration API/Mail/Buffered/Mail.Buffered.csproj
  153. +20 −20 examples/targets/Configuration API/Mail/Buffered/Mail.Buffered.sln
  154. +33 −33 examples/targets/Configuration API/Mail/Simple/Example.cs
  155. +47 −47 examples/targets/Configuration API/Mail/Simple/Mail.csproj
  156. +20 −20 examples/targets/Configuration API/Mail/Simple/Mail.sln
  157. +23 −23 examples/targets/Configuration API/Memory/Simple/Example.cs
  158. +47 −47 examples/targets/Configuration API/Memory/Simple/Memory.csproj
  159. +20 −20 examples/targets/Configuration API/Memory/Simple/Memory.sln
  160. +19 −19 examples/targets/Configuration API/MessageBox/Simple/Example.cs
  161. +47 −47 examples/targets/Configuration API/MessageBox/Simple/MessageBox.csproj
  162. +20 −20 examples/targets/Configuration API/MessageBox/Simple/MessageBox.sln
  163. +27 −27 examples/targets/Configuration API/MethodCall/Simple/Example.cs
  164. +47 −47 examples/targets/Configuration API/MethodCall/Simple/MethodCall.csproj
  165. +20 −20 examples/targets/Configuration API/MethodCall/Simple/MethodCall.sln
  166. +21 −21 examples/targets/Configuration API/NLogViewer/Simple/Example.cs
  167. +47 −47 examples/targets/Configuration API/NLogViewer/Simple/NLogViewer.csproj
  168. +20 −20 examples/targets/Configuration API/NLogViewer/Simple/NLogViewer.sln
  169. +22 −22 examples/targets/Configuration API/Network/Simple/Example.cs
  170. +47 −47 examples/targets/Configuration API/Network/Simple/Network.csproj
  171. +20 −20 examples/targets/Configuration API/Network/Simple/Network.sln
  172. +19 −19 examples/targets/Configuration API/Null/Simple/Example.cs
  173. +47 −47 examples/targets/Configuration API/Null/Simple/Null.csproj
  174. +20 −20 examples/targets/Configuration API/Null/Simple/Null.sln
  175. +19 −19 examples/targets/Configuration API/OutputDebugString/Simple/Example.cs
  176. +47 −47 examples/targets/Configuration API/OutputDebugString/Simple/OutputDebugString.csproj
  177. +20 −20 examples/targets/Configuration API/OutputDebugString/Simple/OutputDebugString.sln
  178. +24 −24 examples/targets/Configuration API/PerfCounter/Simple/Example.cs
  179. +47 −47 examples/targets/Configuration API/PerfCounter/Simple/PerfCounter.csproj
  180. +20 −20 examples/targets/Configuration API/PerfCounter/Simple/PerfCounter.sln
  181. +41 −41 examples/targets/Configuration API/PostFilteringWrapper/Simple/Example.cs
  182. +47 −47 examples/targets/Configuration API/PostFilteringWrapper/Simple/PostFilteringWrapper.csproj
  183. +20 −20 examples/targets/Configuration API/PostFilteringWrapper/Simple/PostFilteringWrapper.sln
  184. +27 −27 examples/targets/Configuration API/RandomizeGroup/Simple/Example.cs
  185. +47 −47 examples/targets/Configuration API/RandomizeGroup/Simple/RandomizeGroup.csproj
  186. +20 −20 examples/targets/Configuration API/RandomizeGroup/Simple/RandomizeGroup.sln
  187. +24 −24 examples/targets/Configuration API/RepeatingWrapper/Simple/Example.cs
  188. +47 −47 examples/targets/Configuration API/RepeatingWrapper/Simple/RepeatingWrapper.csproj
  189. +20 −20 examples/targets/Configuration API/RepeatingWrapper/Simple/RepeatingWrapper.sln
  190. +25 −25 examples/targets/Configuration API/RetryingWrapper/Simple/Example.cs
  191. +47 −47 examples/targets/Configuration API/RetryingWrapper/Simple/RetryingWrapper.csproj
  192. +20 −20 examples/targets/Configuration API/RetryingWrapper/Simple/RetryingWrapper.sln
  193. +21 −21 examples/targets/Configuration API/RichTextBox/RowColoring/Example.cs
  194. +61 −61 examples/targets/Configuration API/RichTextBox/RowColoring/Form1.Designer.cs
  195. +45 −45 examples/targets/Configuration API/RichTextBox/RowColoring/Form1.cs
  196. +119 −119 examples/targets/Configuration API/RichTextBox/RowColoring/Form1.resx
  197. +33 −33 examples/targets/Configuration API/RichTextBox/RowColoring/Properties/AssemblyInfo.cs
  198. +63 −63 examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Resources.Designer.cs
  199. +116 −116 examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Resources.resx
  200. +26 −26 examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Settings.Designer.cs
  201. +7 −7 examples/targets/Configuration API/RichTextBox/RowColoring/Properties/Settings.settings
  202. +88 −88 examples/targets/Configuration API/RichTextBox/RowColoring/RichTextBox.RowColoring.csproj
  203. +20 −20 examples/targets/Configuration API/RichTextBox/RowColoring/RichTextBox.RowColoring.sln
  204. +21 −21 examples/targets/Configuration API/RichTextBox/Simple/Example.cs
  205. +61 −61 examples/targets/Configuration API/RichTextBox/Simple/Form1.Designer.cs
  206. +35 −35 examples/targets/Configuration API/RichTextBox/Simple/Form1.cs
  207. +119 −119 examples/targets/Configuration API/RichTextBox/Simple/Form1.resx
  208. +33 −33 examples/targets/Configuration API/RichTextBox/Simple/Properties/AssemblyInfo.cs
  209. +63 −63 examples/targets/Configuration API/RichTextBox/Simple/Properties/Resources.Designer.cs
  210. +116 −116 examples/targets/Configuration API/RichTextBox/Simple/Properties/Resources.resx
  211. +26 −26 examples/targets/Configuration API/RichTextBox/Simple/Properties/Settings.Designer.cs
  212. +7 −7 examples/targets/Configuration API/RichTextBox/Simple/Properties/Settings.settings
  213. +88 −88 examples/targets/Configuration API/RichTextBox/Simple/RichTextBox.csproj
  214. +20 −20 examples/targets/Configuration API/RichTextBox/Simple/RichTextBox.sln
  215. +21 −21 examples/targets/Configuration API/RichTextBox/WordColoring/Example.cs
  216. +61 −61 examples/targets/Configuration API/RichTextBox/WordColoring/Form1.Designer.cs
  217. +45 −45 examples/targets/Configuration API/RichTextBox/WordColoring/Form1.cs
  218. +119 −119 examples/targets/Configuration API/RichTextBox/WordColoring/Form1.resx
  219. +33 −33 examples/targets/Configuration API/RichTextBox/WordColoring/Properties/AssemblyInfo.cs
  220. +63 −63 examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Resources.Designer.cs
  221. +116 −116 examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Resources.resx
  222. +26 −26 examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Settings.Designer.cs
  223. +7 −7 examples/targets/Configuration API/RichTextBox/WordColoring/Properties/Settings.settings
  224. +88 −88 examples/targets/Configuration API/RichTextBox/WordColoring/RichTextBox.WordColoring.csproj
  225. +20 −20 examples/targets/Configuration API/RichTextBox/WordColoring/RichTextBox.WordColoring.sln
  226. +27 −27 examples/targets/Configuration API/RoundRobinGroup/Simple/Example.cs
  227. +47 −47 examples/targets/Configuration API/RoundRobinGroup/Simple/RoundRobinGroup.csproj
  228. +20 −20 examples/targets/Configuration API/RoundRobinGroup/Simple/RoundRobinGroup.sln
  229. +27 −27 examples/targets/Configuration API/SplitGroup/Simple/Example.cs
  230. +47 −47 examples/targets/Configuration API/SplitGroup/Simple/SplitGroup.csproj
  231. +20 −20 examples/targets/Configuration API/SplitGroup/Simple/SplitGroup.sln
  232. +39 −39 examples/targets/Configuration API/Template.csproj
  233. +20 −20 examples/targets/Configuration API/Template.sln
  234. +21 −21 examples/targets/Configuration API/Trace/Simple/Example.cs
  235. +47 −47 examples/targets/Configuration API/Trace/Simple/Trace.csproj
  236. +20 −20 examples/targets/Configuration API/Trace/Simple/Trace.sln
  237. +28 −28 examples/targets/Configuration API/WebService/Simple/Example.cs
  238. +47 −47 examples/targets/Configuration API/WebService/Simple/WebService.csproj
  239. +26 −26 examples/targets/Configuration API/WebService/Simple/WebService.sln
  240. +13 −13 examples/targets/Configuration API/WebService/Simple/WebService1/Properties/AssemblyInfo.cs
  241. +24 −24 examples/targets/Configuration API/WebService/Simple/WebService1/Service1.asmx.cs
  242. +36 −36 examples/targets/Configuration API/WebService/Simple/WebService1/Web.config
  243. +76 −76 examples/targets/Configuration API/WebService/Simple/WebService1/WebService1.csproj
  244. +37 −37 examples/targets/Configuration API/makeproject.pl
  245. +15 −15 examples/targets/Configuration File/ASPNetBufferingWrapper/web.nlog
  246. +10 −10 examples/targets/Configuration File/ASPNetTrace/web.nlog
  247. +17 −17 examples/targets/Configuration File/AsyncWrapper/NLog.config
  248. +13 −13 examples/targets/Configuration File/AutoFlushWrapper/NLog.config
  249. +13 −13 examples/targets/Configuration File/BufferingWrapper/NLog.config
  250. +11 −11 examples/targets/Configuration File/Chainsaw/NLog.config
  251. +14 −14 examples/targets/Configuration File/ColoredConsole/Row Highlighting/NLog.config
  252. +12 −12 examples/targets/Configuration File/ColoredConsole/Simple/NLog.config
  253. +14 −14 examples/targets/Configuration File/ColoredConsole/Word Highlighting/NLog.config
  254. +11 −11 examples/targets/Configuration File/Console/NLog.config
  255. +30 −30 examples/targets/Configuration File/Database/MSSQL/NLog.config
  256. +21 −21 examples/targets/Configuration File/Database/MSSQL/create_nlog_database.bat
  257. +35 −35 examples/targets/Configuration File/Database/MSSQL/create_nlog_database.sql
  258. +19 −19 examples/targets/Configuration File/Database/MSSQL/drop_nlog_database.bat
  259. +4 −4 examples/targets/Configuration File/Database/MSSQL/drop_nlog_database.sql
  260. +23 −23 examples/targets/Configuration File/Database/Oracle.Native/NLog.config
  261. +22 −22 examples/targets/Configuration File/Database/Oracle.OleDb/NLog.config
  262. +11 −11 examples/targets/Configuration File/Debug/NLog.config
  263. +11 −11 examples/targets/Configuration File/Debugger/NLog.config
  264. +11 −11 examples/targets/Configuration File/EventLog/NLog.config
  265. +14 −14 examples/targets/Configuration File/FallbackGroup/NLog.config
  266. +20 −20 examples/targets/Configuration File/File/Archive1/NLog.config
  267. +20 −20 examples/targets/Configuration File/File/Archive2/NLog.config
  268. +22 −22 examples/targets/Configuration File/File/Archive3/NLog.config
  269. +22 −22 examples/targets/Configuration File/File/Archive4/NLog.config
  270. +18 −18 examples/targets/Configuration File/File/Asynchronous/NLog.config
  271. +18 −18 examples/targets/Configuration File/File/CSV/NLog.config
  272. +14 −14 examples/targets/Configuration File/File/Multiple/NLog.config
  273. +14 −14 examples/targets/Configuration File/File/Multiple2/NLog.config
  274. +16 −16 examples/targets/Configuration File/File/Simple/NLog.config
  275. +13 −13 examples/targets/Configuration File/FilteringWrapper/NLog.config
  276. +12 −12 examples/targets/Configuration File/FormControl/NLog.config
  277. +17 −17 examples/targets/Configuration File/MSMQ/Multiple/NLog.config
  278. +17 −17 examples/targets/Configuration File/MSMQ/Simple/NLog.config
  279. +18 −18 examples/targets/Configuration File/Mail/Buffered/NLog.config
  280. +16 −16 examples/targets/Configuration File/Mail/Simple/NLog.config
  281. +11 −11 examples/targets/Configuration File/Memory/NLog.config
  282. +11 −11 examples/targets/Configuration File/MessageBox/NLog.config
  283. +14 −14 examples/targets/Configuration File/MethodCall/NLog.config
  284. +11 −11 examples/targets/Configuration File/NLogViewer/NLog.config
  285. +11 −11 examples/targets/Configuration File/Network/NLog.config
  286. +11 −11 examples/targets/Configuration File/Null/NLog.config
  287. +11 −11 examples/targets/Configuration File/OutputDebugString/NLog.config
  288. +12 −12 examples/targets/Configuration File/PerfCounter/NLog.config
  289. +16 −16 examples/targets/Configuration File/PostFilteringWrapper/NLog.config
  290. +14 −14 examples/targets/Configuration File/RandomizeGroup/NLog.config
  291. +13 −13 examples/targets/Configuration File/RepeatingWrapper/NLog.config
  292. +13 −13 examples/targets/Configuration File/RetryingWrapper/NLog.config
  293. +14 −14 examples/targets/Configuration File/RichTextBox/RowColoring/NLog.config
  294. +12 −12 examples/targets/Configuration File/RichTextBox/Simple/NLog.config
  295. +14 −14 examples/targets/Configuration File/RichTextBox/WordColoring/NLog.config
  296. +14 −14 examples/targets/Configuration File/RoundRobinGroup/NLog.config
  297. +14 −14 examples/targets/Configuration File/SplitGroup/NLog.config
  298. +11 −11 examples/targets/Configuration File/Trace/NLog.config
  299. +17 −17 examples/targets/Configuration File/WebService/NLog.config
  300. +13 −13 examples/targets/Configuration File/WebService/WebService1/Properties/AssemblyInfo.cs
Sorry, we could not display the entire diff because too many files (817) changed.
View
6 .gitignore
@@ -1,4 +1,4 @@
-obj/
-bin/
-msbuild.log
+obj/
+bin/
+msbuild.log
LastTestRunSummary.cmd
View
1,268 ChangeLog
@@ -1,634 +1,634 @@
-2010-04-27 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added NightlyBuild target to NLog.proj
-
-2010-04-15 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added Silverlight 4.0 GDR support and updated .NET Framework 4.0 build number to reflect the final release.
-
-2010-03-17 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed issue mentioned in bug #4182 - after refactoring XmlTextWriter to XmlWriter.Create() ${log4jxmlevent} stopped working.
- Added regression tests.
-
-2010-03-13 Jaroslaw Kowalski <jaak@jkowalski.net>
- * NLog2-preview1 release
-
-2010-03-12 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Refactored project structure for client SKU support. On .NET 3.5 and 4.0 there are now two assemblies: NLog.dll (client-only) and NLog.Extended.dll (extended SKU)
- * Removed StyleCop exclusion for usings-must-be-in-namespace and fixed all sources
- * Removed GetEstimatedBufferSize() for layout renderers - now computed automatically and faster
- * Added [AppDomainFixedOutput] and [ThreadAgnostic] attributes for marking layouts and renderers - removed IsAppDomainFixed() and IsVolatile() and centralized
- its computation
- * Added IUsesStackTrace and removed other methods of determining whether stack trace is needed (should be more robust)
- * Fixed a bug where output from C++ was not properly serialized in log4j XML format (nullref)
- * Changed Initialize() and Close() to be protected
- * Refactored ObjectGraphScanner for better usage
- * Removed micro-optimizations which were not really needed (FileTarget)
- * Added IRenderable interface (common to layouts and renderers)
- * Refactored solutions to one-per-framework
-
-2010-02-21 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added 'build checkinsuite' option which cleans and builds everything then runs tests and presents a synthetic view of the results.
- * Added DumpTestResultSummary tool which displays readable summary of a *.TRX file
- * Added TRX output to SilverlightConsoleRunner. * Fixed bug #3990 - Stack overflow in NLogViewerTarget constructor
- * Changed LoggingRule.Targets and LoggingRule.ChildRules to use IList<T> instead of ICollection<T>
- * Added Makefile for building and running tests on Unix
-
-2010-02-20 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed handling of StackFrame/StackTrace in Silverlight - updated unit tests to deal with that.
- * All unit tests are now passing on SL2 and SL3 and Compact Framework
- * Made Silverlight unit tests runnable from VS directly.
- * Disabled filename-related stuff from Silverlight stacktrace reporting.
- * Added support for ${exception:method} on Silverlight by parsing the stack frame.
- * Fixed a bug in .NET Compact Framework 2.0 support where read-only properties were not discovered correctly (works fine for other versions).
-
-2009-11-01 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added skeleton for LogReceiverService which sends parameterized log messages in batches to a web service (WCF/SOAP).
-
-2009-10-24 Jaroslaw Kowalski <jaak@jkowalski.net>
- * NLog now passes StyleCop 4.3.2.1 verification using all but couple of rules.
-
-2009-10-21 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added unit test projects for Compact Framework and Silverlight (based on SilverlightUnitTestFramework from MSDN Code Gallery).
- * Fixed tests to exclude unsupported framework features for SL and CF.
- * More code cleanup.
- * Simple console runner for Silverlight.
- * All frameworks build fine now at this point (build.cmd).
- * Verified that unit tests are passing 100% for .NET FX 3.5 and 2.0.
-
-2009-10-10 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Removed PopulateLayouts across the source code and replaced it with a centralized reflection-based utility.
- * Introduced INLogConfigurationItem which is used to mark classes which should be scanned for Layouts.
- * Introduced ISupportsInitialize which is used to centralize Initialize and Close handling across the code.
- * Centralized RequitedParameterAttribute handling.
- * Removed support for NLOG_GLOBAL_CONFIG_FILE variable and NLog.dll.nlog file
-
-2009-09-19 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added binary compatibility test with NLog v1.0
- * Deprecated LogEventInfo.Context - replaced with LogEventInfo.Properties which uses generic. Added verification that binary compatibility is preserved.
-
-2009-09-18 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Top-level directory cleanup:
- - moved *.sln files to "src"
- - moved Installer to tools/Installer
- - moved webtest to 'tests'
- * Merged NLog.ComInterop.dll with NLog.dll
- * VS project now supports multitargeting
- * Upgraded NLogC project to C++/CLI
- * Added VS project and solution for NLogC
- * Added protection from null DeclaringType (occurs in C++)
- Issue: http://nlog.codeplex.com/WorkItem/View.aspx?WorkItemId=2519
- * Fixed stack trace computation in case of excessive inlining (x64)
- Issue: http://nlog.codeplex.com/WorkItem/View.aspx?WorkItemId=2518
- * Cleaned up InternalLogger configuration
- * More FxCop-driven cleanup
- * Fixed invalid format parameters in NLogC
- * Switched to use _vsnwprintf_s
- * Added ConfigureFromXml API to NLogC
-
-2008-11-22 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added WrapperLayoutRendererBase for wrapper layout renderer and LowerCaseLayoutRendererWrapper, PaddngLayoutRendererWrapper, UpperCaseLayoutRendererWrapper, ReplaceLayoutRendererWrapper
- * Added AmbientPropertyAttribute for decorating ambient properties.
- * Added LoggingRule.Levels
- * Refactored XmlLoggingConfiguration to use XmlReader (available everywhere) instead of XmlElement
- * Replace 0,1,2 constants for specifying stack trace usage with StackTraceUsage enumeration
- * Moved GDC, MDC and NDC to a separate namespace and obsoleted short names
- * Added special case for converting encoding names to Encoding objects in the configurator
- * Removed ApplyPadding() method - padding and other common aspects are now abstracted as WrapperLayoutRenderers
- * Refactored ${rot13} to become a wrapper layout renderer (config-level compatible)
- * Removed LayoutRendererAttribute.IgnoresPadding and UsingLogEventInfo
- * Renamed Layout.Initialized as IsInitialized
- * Refactored configuration file search algorithm
- * Added some more source-level documentation
- * Removed LogLevel.UppercaseName and LogLevel.LowercaseName
- * Removed TargetAttribute.IgnoresLayout
- * Work-in-progress on MakeNLogDoc
-
-2008-06-21 Jaroslaw Kowalski <jaak@jkowalski.net>
- * First major refactoring towards NLog v2.
- * moved certain classes from NLog namespace to NLog.Config, NLog.Targets, NLog.Layouts, NLog.LayoutRenderers
- * renamed Layout to SimpleLayout
- * turned ILayout interface into Layout base class
- * removed CompiledLayout pattern all over the place
- * removed [AcceptsLayout] by replacing all string properties with actual Layouts (added implicit conversion from string makes the usage clean)
- * removed [AcceptsCondition] by replacing all string properties with ConditionExpression (added implicit conversion from string makes the usage clean)
- * removed most of platform detection logic (will use conditional compilation exclusively in v2)
- * removed NLog.*Factory classes and aggregated all factories NLog.Config.NLogFactories using common interface
- * removed *Collection and *Dictionary classes and replaced them with generics
- * public APIs that used to expose *Collection are now ICollection<T> or IList<T>
- * refactored LogEventInfo into multiple classes for formatted and unformatted events
- * added delayed evaluation delegate (LogMessageDelegate) and added logging method overloads that accept it:
- Usage (C# 3.0 using lambda syntax):
- logger.Info(() => "this is my message, x=" + x + ", y=" + y);
- Usage (C# 2.0 using inline delegate syntax)
- logger.Info(delegate { return "this is my message, x=" + x + ", y=" + y });
- * removed VS 2003 project files
- * regenerated Logger.cs to use generics
- * configuration-file-based usage remains unchanged
- * removed support for .NET 1.x and .NET CF 1.x and many hacks and workarounds to support them
-
-================================================================================
-
-2006-09-18 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Preparing for 1.0 release
-
-2006-09-15 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added MaxMessageSize (default: 65000) and OnOverflow (default:Split) to
- the Network target
-
-2006-09-12 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Implemented headers and footers for the File target.
- CAUTION: NLog automatically writes footers for files that have not been
- written for 2 days (48 hours). This is done do conserve memory for
- long-running processes that create lots of log files.
-
-2006-09-11 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added publisher policy generation
-
-2006-09-07 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Enabled DatabaseTarget.ConnectionString to include
- layouts.
-
-2006-09-04 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Build number is synchronized with SVN number (hopefully)
- * Fixed LayoutRenderer.ApplyPadding() null handling
- * First attempt at publisher policy generation
-
-2006-09-01 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed File target for Windows 98
-
-2006-08-25 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added examples of inheriting from Logger class and wrapping it
-
-2006-08-24 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added infrastructure to create your own logger types inheriting from
- Logger:
-
- LogManager.GetLogger(string name, Type type) and
- LogManager.GetCurrentClassLogger(Type type)
- LogFactory.GetLogger(string name, Type type) and
- LogFactory.GetCurrentClassLogger(Type type)
-
- * Added ${event-context} layout renderer that extracts information from
- LogEventInfo.Context
- * Added eventID and categoryID parameters to EventLog targets.
- * Added LogManager<LoggerType> that manages logger instances of LoggerType
- where LoggerType : Logger
- * Added missing code documentation
- * Fixed Network target to work properly with IPV6
- * Added example ${rot13} layout renderer - that demonstrates how
- wrapper layout renderers can be written.
- * Added support for DEFAULT nested layout parameters. You can now write:
-
- ${file-contents:${basedir}/file.txt}
- ${rot13:URYYB}
-
-2006-08-03 Jaroslaw Kowalski <jaak@jkowalski.net>
- * MANY CHANGES TO CLEAN UP APIs AND ENSURE EXTENSIBILITY - MAY TAKE SOME TIME TO STABILIZE AGAIN
-
- * Added ${file-contents} layout renderer which inserts file contents.
- * Added [DefaultParameter] attribute which allows for nameless parameters
- to layout renderers:
-
- ${aspnet-application}
- ${aspnet-request}
- ${aspnet-session}
- ${date}
- ${environment}
- ${file-contents}
- ${gdc}
- ${mdc}
- ${process-info}
- ${special-folder}
- ${asp-application}
- ${asp-request}
- ${asp-session}
-
- * Added ILayoutWithHeaderAndFooter.cs for layouts that support
- header/footer (such as CSV Layout, more to come)
- * The following targets have been enhanced to support headers/footers:
-
- Console
- ColoredConsole
- Debugger
-
- * Added NLogConfigurationException which is thrown instead of CLR
- exceptions when the configuration fails
- * Simplified XmlLoggingConfiguration by splitting large methods and moving
- common functionality to PropertyHelper
- * Added Layouts/LayoutWithHeaderAndFooter.cs and
- TargetWithLayoutHeaderAndFooter.cs
- * Added MailTarget.AddNewLines to insert new lines between
- header/lines/footer
- * Added PopulateLayouts() method to ILayout
- * BREAKING CHANGE: Changed the default value of
- FileTarget.OpenFileCacheTimeout to -1
- * Added support for nested layout renderers. Used in ${file-contents}
-
- ${file-contents:fileName=${basedir}/aaa.txt}
-
- This required a large rewrite of the parsing engine. Hopefully the test cases
- cover all possible situations.
- * Removed LogEventInfo.Empty and replaced with
- LogEventInfo.CreateNullEvent()
- * Added CsvLayout.WithHeader which can be used to disable CSV header.
- * Added VJSharp and Web item templates. Updated the installer to support
- VWD Express 2005.
- * Enhanced XSD Schema generation by properly generating abstract and
- layout properties.
- * Some more unit tests.
-
-2006-07-31 Maarten Claes <m.claes@farcourier.com>
- * Changed RichTextBox Target to be thread safe. Uses delegate to log
- to RichTextBox
- * Same changes made to FormControl Target
-
-2006-07-22 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed NLogViewer and Chainsaw targets
- * New NLog.Benchmark that uses code generation and compilation to
- create more "clean" environment.
- * Added ${gc} which can be used to get the GC statistics (very limited)
- * Added ${processinfo} which can be used to extract the performance
- information about the current process (possibly others in the future as
- well)
- * Added ${gc} which can be used to get the GC statistics (very limited)
- * Added Initialize() and Close() to the LayoutRender class
- * Added optimized CurrentTimeGetter which is way faster than DateTime.Now
- * Some small optimizations
-
-2006-07-18 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added ImpersonatingWrapper which temporarily changes the credentials
- for the duration of the write.
- * Moved the implementation of LogManager to a reusable LogFactory while
- maintaining its public interface. You can now easily have a private
- LogManager for an assembly.
-
-2006-07-17 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Synchronized Visual Studio solutions to source code directories. Now
- part of the build process.
-
-2006-07-14 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added proper camelCasing to the web build process
- * Fix for multiple email addresses being passed in To,CC and BCC fields
- under .NET 2.0 (reported by Pawel Parzychowski)
-
-2006-07-07 Jaroslaw Kowalski <jaak@jkowalski.net>
- * BREAKING CHANGE - Added NLog.ILayout which Layout implements to
- allow other layout types (such as CSV-escaped, HTML-colored,
- XML-escaped, ANSI-colored) to be implemented
- NLog.Layout became sealed.
- * BREAKING CHANGE - Added NLog.TargetWithLayout, removed Layout
- and CompiledLayout from NLog.Target
- * BREAKING CHANGE - Removed CSVFile target, converted examples to File + CsvLayout
- * Added pluggable layouts (CSV, Log4JXml), LayoutFactory and
- LayoutAttribute. The syntax is:
-
- <target xsi:type="File">
- <layout xsi:type="CSVLayout">
- <column name="message" layout="${message}" />
- <column name="level" layout="${level}" />
- </layout>
- </target>
-
- Of course the old syntax is still supported for simple layouts:
-
- <target xsi:type="File" layout="${message}" />
- * BREAKING CHANGE - FileTarget.KeepFileOpen is back to the default
- of false. Thankfully we now have <default-target-parameters /> so this
- can be easily overriden.
-
-2006-07-05 Maciej Figatowski <mfigatow@sav.net>
- * Added FilterResult.IgnoreFinal and FilterResult.LogFinal
- which suppress processing of further rules if the filter
- matches.
-
-2006-07-04 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added NLog_Init() and NLog_InitLocal() APIs to NLogC
-
-2006-07-04 Marcin Krupinski <yoszek@gmail.com>
- * added FormControl target that logs to Text property of any
- Windows.Forms.Control
- * added RichTextBox target with row- and word coloring that
- logs to RichTextBox
-
-2006-06-30 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added ${tempdir} and ${specialfolder}
-
-2006-06-29 Jaroslaw Kowalski <jaak@jkowalski.net>
- * implemented <targets><default-target-parametes /> </targets> that
- specifies default values for all targets in the section
-
-2006-06-25 Jaroslaw Kowalski <jaak@jkowalski.net>
- * implemented <targets><default-wrapper /> </targets> that wraps all
- targets in <targets> section with the specified wrapper.
-
-2006-06-23 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed some race conditions in the Network target
- * added NetworkTarget.Close()
- * added CSVFile target which does proper CSV formatting (multi-line and
- special character quoting)
-
-2006-06-14 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added <include file="..." ignoreErrors="true|false" />
- * fixed autoReload to keep monitoring the file if the reloaded file
- has an error
- * added Logger.Log(LogEventInfo) overload
- * added Logger.Log(Type,LogEventInfo) overload
- * added LoggerReconfiguredDelegate and Logger.LoggerReconfigured event
-
-2006-06-13 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added BufferedWrapper.FlushTimeout
- * Added some unit tests
- * Fixed AsyncWrapper not closing files on termination.
-
-2006-06-11 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added FileTarget.LineEnding
- * Added some unit tests
- * Added Layout.Escape() which escapes ${ with ${literal:text=${}
-
-2006-06-04 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed compilation, schema generationa and website building on Linux/Mono.
- * Updated version number to 1.0 (preparing for the release)
- * Optimized file appenders
- * added support for flags-type enumerations
- * Benchmark updates
- * Configurable stacktrace/separator
-
-2006-05-31 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Grammar issues (thanks Ron)
- * Added "separator" option to the ${stacktrace} layout renderer.
-
-2006-05-30 Inez Korczynski <korczynski@gmail.com>
- * Implementation of SOAP 1.2 and POST for WebService target.
-
-2006-05-28 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Preliminary implementation of SOAP 1.1 for WebService target.
- * Added deleteOldFileOnStartup to the File target
- * Added replaceFileContentsOnEachWrite to the File target
- * We now have examples for 100% of targets, both
- ready-to-run VS2005 projects and configuration files.
-
-2006-05-26 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Prepared ready-to-run example projects for VS2005 that describe
- most targets.
- * Added WebService target stub.
-
-2006-05-25 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Implemented AsyncWrapper for .NET CF using the Timer class
- * Refactored file watching - should speed up non-logging by 100%
-
-2006-05-20 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added support for VC#Express and VBExpress to the installer.
- * Added VS2005 C# and VB.NET code snippet (nlogger) to quickly
- insert logger creation statement
- * Added VS2005 item templates for NLog configuration. Updated the
- installer.
- * Removed some stupid Console.Write()
- * Updated MailTarget.SmtpAuthentication to be SmtpAuthenticationMode instead
- of a string.
-
-
-2006-05-15 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Fixed File target causing delay at exit.
- * Added generation of NLog.xsd schema for Intellisense.
-
-2006-05-15 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Reverted to NDoc 1.3.1 running under CLR 2.0 for docgen.
-
-2006-05-10 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * (hopefully) Fixed OpenFileCacheTimeout taking too much CPU
-
-2006-05-05 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Completely rebuilt the installer.
- * Reworked the way documentation is generated. We now use NDoc 2.0 Alpha
- 3k and there are still some minor issues.
- * Separate compilation of NLog for all supported frameworks
- * Cleaned up the code, now compiles with warnaserror="true"
-
-2006-04-22 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Merged NLog.Win32.dll, NLog.DotNet.dll, NLog.Unix.dll and NLog.Mono.dll
- into one assembly NLog.dll
- * Added attributes which mark support for particular runtimes and OSes
-
-2006-04-18 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added LayoutRenderer.IsAppDomainFixed() and an optimization to turn
- such things into literals.
- * Added LoggingConfiguration.GetConfiguredNamedTargets() API
- * BREAKING CHANGE - Completely restructured the way File target works.
- The new structure is based on Streams instead of StreamWriters and
- enables archiving (kind of similar to "rolling file appender" from log4net
- world, but supporting multiple files at a time)
- * BREAKING CHANGE - removed some properties which accepted strings. Now
- replaced with enums.
- * Added caching to File target to optimize the number file open/close
- operations
- * Added an option for multiple processes to append to the same OPEN file
- in a synchronized manner. Unixes get this for free, but Win32 requires
- you to use mutexes to synchronize file access.
- * Enabled the use of enumerations as parameteters (including docgen)
- * Added InternalLogger.LogToConsoleError and their config file and
- environment variable counterparts
- * Refactored website generation
-
-2006-03-27 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Updated .NET CF project file
-
-2006-03-21 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Fixed a programmatic configuration bug where invalid value was passed
- to LoggingRule.LoggerNamePattern.
- Thanks to danieljaysmith - at - excite - dot - com for spotting this.
-
-2006-03-19 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Optimization to defer calling String.Format() until it's really
- needed.
-
-2006-02-24 Rafal Gwizdala <gwrafal@poczta.onet.pl>
-
- * Add PerfCounter target that increases the PC value by one each
- time the message is passed to it.
- * Added FSNormalize option to ${identity} target to strip all
- characters not allowed in the file names and replace them with
- underscores.
-
-2006-02-24 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added config-level option <targets async="true">...</targets>
- to automatically wrap all targets with AsyncWrapper
-
-2006-02-14 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Updated license and email addresses.
- * Updated assembly version and description for 0.95 release.
-
-2006-02-13 Yuri Mamrukov <yvm@att.net>
-
- * Patch to simplify InternalLogger configuration from environment
- variables and/or App.config settings. Fixes some nasty bug here.
-
-2006-02-13 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added some docs, moving website to http://www.nlog-project.org/
- * Excluded NLogViewer from build and project.
- * Refactored LoggerImpl to allow for some extensibility in the future.
-
-2006-01-13 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Fixed a serious reentrancy bug which caused all sorts of problems
- when formatted message included a parameter where ToString
- did the logging itself.
-
-2005-10-26 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added ${aspnet-sessionid} to access (guess!) ASP.NET session ID
-
-2005-10-25 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added ASPNetBufferingWrapper target which buffers and post-processes
- the entire ASP.NET request (requires you to use the NLogHttpModule)
- * Added PostFilteringWrapper target which is able to filter log events
- based on a buffer as a whole. It is possible for example to dump the
- detailed ( >= Trace level) trace of a request if there was at least
- one >= Warn event in the buffer, but under normal conditions only output
- the >= Info levels.
- * Reworked the way the documentation is generated (we no longer use
- ugly IFRAMEs and the same method is used to generate the website and
- the docs)
- * Added a new conditions language (see conditions.html for more
- information) which let you write powerful filtering conditions
- while keeping the syntax natural and readable
- * Added <when condition="..." action="..." /> filter which uses condition
- expressions
- * Added examples for the MailTarget and BufferedMailTarget
- * Fixed Close() behaviour for unnamed targets (like the ones configured
- by SimpleConfigurator)
- * Added some more documentation (still some work to do before the release)
- * Fixed the example for asynchronous Tile target (async="true" is not
- supported and is replaced by the AsyncWrapper target)
-
-2005-10-21 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added ${processname}, ${processid} layout renderers
- * Added GDC (Global Diagnostics Context) and ${gdc} layout renderer which
- is a global (as opposed to per-thread) version of MDC and ${mdc}
-
-2005-10-11 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Fixed a nullref exception when no config file was present.
- * Fixed support for CC field in the Mail target
-
-2005-09-29 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Added batch NLogC compilation, added installer and nlogc binary
- snapshot.
- * Added authentication options to the Mail target (thanks Ron).
-
-2005-09-28 Jaroslaw Kowalski <jaak@jkowalski.net>
-
- * Refactored NLogViewer by separating NLogViewer.Interfaces
- * Added NLogViewer.NDumbsterSmtpReceiver (by Ron Grabowski)
- * Added support for caching layout results per logEvent which
- makes them transportable across threads
- * Renamed Target.Append() method to Write() (how did I forget it?)
- * Added Target.Write(LogEvent[] manyEvents) for cases where the
- target can optimize group writes
- * Added Log4JXmlEvent.cs
- * Added Wrappers: AsyncWrapper, AutoFlushWrapper, BufferingWrapper,
- RepeatingWrapper, RetryingWrapper
- * Some preliminary work on request buffering wrappers.
- * Added compound targets (fallback, randomize, roundrobin, split)
- * WARNING: This requires some serious testing.
-
-2005-09-19 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added ${windows-identity} layout renderer. Restructured the
- way extensions are loaded (ExtensionUtils).
-
-2005-08-28 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Some work on NLogViewer
-
-2005-08-14 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed #34: Typos in the code prevented Chainsaw target
- from working properly.
- * Added #31: MSMQ target
- * Added #30: EventLog target
- * Fixed #8: Made Performance Counter layout renderer somewhat more
- reliable and added a bit of documentation.
- * Fixed #29: Root logging level support.
- Added <nlog globalThreshold="..." />
- * Massive website, documentation and packaging updates
- * Added SimpleConfigurator.ConfigureForTargetLogging() and
- SimpleConfigurator.ConfigureForFileLogging()
-
-2005-08-10 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed #28: Documentation threading safety statement bug
-
-2005-08-08 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added #27: Debugger target.
- * Fixed #26: ${callsite} not working with database parameters
-
-2005-07-27 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Added #24: ${logger:shortname=true} option.
-
-2005-07-23 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed #23: ${callsite} doesn't work with MethodCall target and
- NLogViewer target
-
-2005-07-14 Jaroslaw Kowalski <jaak@jkowalski.net>
- * Fixed #22: Connection string builder omits ; after Server parameter
-
-2005-07-11 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added an overridable FileTarget.WriteToFile method to allow for subclassing
- of File target to support encryption
-
-2005-07-09 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed the Trace target in Release mode by defining TRACE symbol
-
-2005-07-06 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added a new Trace level, more verbose than the Debug
-
-2005-07-05 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed VS.NET Compact Framework project file
-
-2005-06-28 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added support for <variable name="" value="" /> configuration element
- * added experimental PerformanceCounter layout renderer.
-
-2005-06-25 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed the Trace target in Release mode by defining TRACE symbol
-
-2005-06-23 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added some minimal VB.NET test code
- * added some meaningful error message when a named target is not defined.
-
-2005-06-20 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed bugs related to ${asp-request:cookie} and ${aspnet-request:cookie} and many other small bugs
-
-2005-06-17 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixes for case-insensitive parsing of the config files.
- * added IgnoreCase option to filters
- * added unit tests that verify case-insensitivity.
- * added many more unit tests (we have now over 70% coverage)
-
-2005-06-16 Jaroslaw Kowalski <jaak@jkowalski.net>
- * fixed the filter configuration bug as reported by Ron Grabowski
-
-2005-06-10 Jaroslaw Kowalski <jaak@jkowalski.net>
- * added StackTrace layout renderer, 3 different logging formats
- * added NewLine layout renderer
- * added async="true" to the "File" target to improve logging speed by
- writing messages in a separate thread and optimizing file access.
- * fixed NLogC compilation
- * refactored NLogViewer to use log4j schema instead of inventing my own
- * fixed CompactFramework build
-
-2005-06-09 Jaroslaw Kowalski <jaak@jkowalski.net>
- * NLog v0.9 has been released.
+2010-04-27 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added NightlyBuild target to NLog.proj
+
+2010-04-15 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added Silverlight 4.0 GDR support and updated .NET Framework 4.0 build number to reflect the final release.
+
+2010-03-17 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed issue mentioned in bug #4182 - after refactoring XmlTextWriter to XmlWriter.Create() ${log4jxmlevent} stopped working.
+ Added regression tests.
+
+2010-03-13 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * NLog2-preview1 release
+
+2010-03-12 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Refactored project structure for client SKU support. On .NET 3.5 and 4.0 there are now two assemblies: NLog.dll (client-only) and NLog.Extended.dll (extended SKU)
+ * Removed StyleCop exclusion for usings-must-be-in-namespace and fixed all sources
+ * Removed GetEstimatedBufferSize() for layout renderers - now computed automatically and faster
+ * Added [AppDomainFixedOutput] and [ThreadAgnostic] attributes for marking layouts and renderers - removed IsAppDomainFixed() and IsVolatile() and centralized
+ its computation
+ * Added IUsesStackTrace and removed other methods of determining whether stack trace is needed (should be more robust)
+ * Fixed a bug where output from C++ was not properly serialized in log4j XML format (nullref)
+ * Changed Initialize() and Close() to be protected
+ * Refactored ObjectGraphScanner for better usage
+ * Removed micro-optimizations which were not really needed (FileTarget)
+ * Added IRenderable interface (common to layouts and renderers)
+ * Refactored solutions to one-per-framework
+
+2010-02-21 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added 'build checkinsuite' option which cleans and builds everything then runs tests and presents a synthetic view of the results.
+ * Added DumpTestResultSummary tool which displays readable summary of a *.TRX file
+ * Added TRX output to SilverlightConsoleRunner. * Fixed bug #3990 - Stack overflow in NLogViewerTarget constructor
+ * Changed LoggingRule.Targets and LoggingRule.ChildRules to use IList<T> instead of ICollection<T>
+ * Added Makefile for building and running tests on Unix
+
+2010-02-20 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed handling of StackFrame/StackTrace in Silverlight - updated unit tests to deal with that.
+ * All unit tests are now passing on SL2 and SL3 and Compact Framework
+ * Made Silverlight unit tests runnable from VS directly.
+ * Disabled filename-related stuff from Silverlight stacktrace reporting.
+ * Added support for ${exception:method} on Silverlight by parsing the stack frame.
+ * Fixed a bug in .NET Compact Framework 2.0 support where read-only properties were not discovered correctly (works fine for other versions).
+
+2009-11-01 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added skeleton for LogReceiverService which sends parameterized log messages in batches to a web service (WCF/SOAP).
+
+2009-10-24 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * NLog now passes StyleCop 4.3.2.1 verification using all but couple of rules.
+
+2009-10-21 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added unit test projects for Compact Framework and Silverlight (based on SilverlightUnitTestFramework from MSDN Code Gallery).
+ * Fixed tests to exclude unsupported framework features for SL and CF.
+ * More code cleanup.
+ * Simple console runner for Silverlight.
+ * All frameworks build fine now at this point (build.cmd).
+ * Verified that unit tests are passing 100% for .NET FX 3.5 and 2.0.
+
+2009-10-10 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Removed PopulateLayouts across the source code and replaced it with a centralized reflection-based utility.
+ * Introduced INLogConfigurationItem which is used to mark classes which should be scanned for Layouts.
+ * Introduced ISupportsInitialize which is used to centralize Initialize and Close handling across the code.
+ * Centralized RequitedParameterAttribute handling.
+ * Removed support for NLOG_GLOBAL_CONFIG_FILE variable and NLog.dll.nlog file
+
+2009-09-19 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added binary compatibility test with NLog v1.0
+ * Deprecated LogEventInfo.Context - replaced with LogEventInfo.Properties which uses generic. Added verification that binary compatibility is preserved.
+
+2009-09-18 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Top-level directory cleanup:
+ - moved *.sln files to "src"
+ - moved Installer to tools/Installer
+ - moved webtest to 'tests'
+ * Merged NLog.ComInterop.dll with NLog.dll
+ * VS project now supports multitargeting
+ * Upgraded NLogC project to C++/CLI
+ * Added VS project and solution for NLogC
+ * Added protection from null DeclaringType (occurs in C++)
+ Issue: http://nlog.codeplex.com/WorkItem/View.aspx?WorkItemId=2519
+ * Fixed stack trace computation in case of excessive inlining (x64)
+ Issue: http://nlog.codeplex.com/WorkItem/View.aspx?WorkItemId=2518
+ * Cleaned up InternalLogger configuration
+ * More FxCop-driven cleanup
+ * Fixed invalid format parameters in NLogC
+ * Switched to use _vsnwprintf_s
+ * Added ConfigureFromXml API to NLogC
+
+2008-11-22 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added WrapperLayoutRendererBase for wrapper layout renderer and LowerCaseLayoutRendererWrapper, PaddngLayoutRendererWrapper, UpperCaseLayoutRendererWrapper, ReplaceLayoutRendererWrapper
+ * Added AmbientPropertyAttribute for decorating ambient properties.
+ * Added LoggingRule.Levels
+ * Refactored XmlLoggingConfiguration to use XmlReader (available everywhere) instead of XmlElement
+ * Replace 0,1,2 constants for specifying stack trace usage with StackTraceUsage enumeration
+ * Moved GDC, MDC and NDC to a separate namespace and obsoleted short names
+ * Added special case for converting encoding names to Encoding objects in the configurator
+ * Removed ApplyPadding() method - padding and other common aspects are now abstracted as WrapperLayoutRenderers
+ * Refactored ${rot13} to become a wrapper layout renderer (config-level compatible)
+ * Removed LayoutRendererAttribute.IgnoresPadding and UsingLogEventInfo
+ * Renamed Layout.Initialized as IsInitialized
+ * Refactored configuration file search algorithm
+ * Added some more source-level documentation
+ * Removed LogLevel.UppercaseName and LogLevel.LowercaseName
+ * Removed TargetAttribute.IgnoresLayout
+ * Work-in-progress on MakeNLogDoc
+
+2008-06-21 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * First major refactoring towards NLog v2.
+ * moved certain classes from NLog namespace to NLog.Config, NLog.Targets, NLog.Layouts, NLog.LayoutRenderers
+ * renamed Layout to SimpleLayout
+ * turned ILayout interface into Layout base class
+ * removed CompiledLayout pattern all over the place
+ * removed [AcceptsLayout] by replacing all string properties with actual Layouts (added implicit conversion from string makes the usage clean)
+ * removed [AcceptsCondition] by replacing all string properties with ConditionExpression (added implicit conversion from string makes the usage clean)
+ * removed most of platform detection logic (will use conditional compilation exclusively in v2)
+ * removed NLog.*Factory classes and aggregated all factories NLog.Config.NLogFactories using common interface
+ * removed *Collection and *Dictionary classes and replaced them with generics
+ * public APIs that used to expose *Collection are now ICollection<T> or IList<T>
+ * refactored LogEventInfo into multiple classes for formatted and unformatted events
+ * added delayed evaluation delegate (LogMessageDelegate) and added logging method overloads that accept it:
+ Usage (C# 3.0 using lambda syntax):
+ logger.Info(() => "this is my message, x=" + x + ", y=" + y);
+ Usage (C# 2.0 using inline delegate syntax)
+ logger.Info(delegate { return "this is my message, x=" + x + ", y=" + y });
+ * removed VS 2003 project files
+ * regenerated Logger.cs to use generics
+ * configuration-file-based usage remains unchanged
+ * removed support for .NET 1.x and .NET CF 1.x and many hacks and workarounds to support them
+
+================================================================================
+
+2006-09-18 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Preparing for 1.0 release
+
+2006-09-15 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added MaxMessageSize (default: 65000) and OnOverflow (default:Split) to
+ the Network target
+
+2006-09-12 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Implemented headers and footers for the File target.
+ CAUTION: NLog automatically writes footers for files that have not been
+ written for 2 days (48 hours). This is done do conserve memory for
+ long-running processes that create lots of log files.
+
+2006-09-11 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added publisher policy generation
+
+2006-09-07 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Enabled DatabaseTarget.ConnectionString to include
+ layouts.
+
+2006-09-04 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Build number is synchronized with SVN number (hopefully)
+ * Fixed LayoutRenderer.ApplyPadding() null handling
+ * First attempt at publisher policy generation
+
+2006-09-01 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed File target for Windows 98
+
+2006-08-25 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added examples of inheriting from Logger class and wrapping it
+
+2006-08-24 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added infrastructure to create your own logger types inheriting from
+ Logger:
+
+ LogManager.GetLogger(string name, Type type) and
+ LogManager.GetCurrentClassLogger(Type type)
+ LogFactory.GetLogger(string name, Type type) and
+ LogFactory.GetCurrentClassLogger(Type type)
+
+ * Added ${event-context} layout renderer that extracts information from
+ LogEventInfo.Context
+ * Added eventID and categoryID parameters to EventLog targets.
+ * Added LogManager<LoggerType> that manages logger instances of LoggerType
+ where LoggerType : Logger
+ * Added missing code documentation
+ * Fixed Network target to work properly with IPV6
+ * Added example ${rot13} layout renderer - that demonstrates how
+ wrapper layout renderers can be written.
+ * Added support for DEFAULT nested layout parameters. You can now write:
+
+ ${file-contents:${basedir}/file.txt}
+ ${rot13:URYYB}
+
+2006-08-03 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * MANY CHANGES TO CLEAN UP APIs AND ENSURE EXTENSIBILITY - MAY TAKE SOME TIME TO STABILIZE AGAIN
+
+ * Added ${file-contents} layout renderer which inserts file contents.
+ * Added [DefaultParameter] attribute which allows for nameless parameters
+ to layout renderers:
+
+ ${aspnet-application}
+ ${aspnet-request}
+ ${aspnet-session}
+ ${date}
+ ${environment}
+ ${file-contents}
+ ${gdc}
+ ${mdc}
+ ${process-info}
+ ${special-folder}
+ ${asp-application}
+ ${asp-request}
+ ${asp-session}
+
+ * Added ILayoutWithHeaderAndFooter.cs for layouts that support
+ header/footer (such as CSV Layout, more to come)
+ * The following targets have been enhanced to support headers/footers:
+
+ Console
+ ColoredConsole
+ Debugger
+
+ * Added NLogConfigurationException which is thrown instead of CLR
+ exceptions when the configuration fails
+ * Simplified XmlLoggingConfiguration by splitting large methods and moving
+ common functionality to PropertyHelper
+ * Added Layouts/LayoutWithHeaderAndFooter.cs and
+ TargetWithLayoutHeaderAndFooter.cs
+ * Added MailTarget.AddNewLines to insert new lines between
+ header/lines/footer
+ * Added PopulateLayouts() method to ILayout
+ * BREAKING CHANGE: Changed the default value of
+ FileTarget.OpenFileCacheTimeout to -1
+ * Added support for nested layout renderers. Used in ${file-contents}
+
+ ${file-contents:fileName=${basedir}/aaa.txt}
+
+ This required a large rewrite of the parsing engine. Hopefully the test cases
+ cover all possible situations.
+ * Removed LogEventInfo.Empty and replaced with
+ LogEventInfo.CreateNullEvent()
+ * Added CsvLayout.WithHeader which can be used to disable CSV header.
+ * Added VJSharp and Web item templates. Updated the installer to support
+ VWD Express 2005.
+ * Enhanced XSD Schema generation by properly generating abstract and
+ layout properties.
+ * Some more unit tests.
+
+2006-07-31 Maarten Claes <m.claes@farcourier.com>
+ * Changed RichTextBox Target to be thread safe. Uses delegate to log
+ to RichTextBox
+ * Same changes made to FormControl Target
+
+2006-07-22 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed NLogViewer and Chainsaw targets
+ * New NLog.Benchmark that uses code generation and compilation to
+ create more "clean" environment.
+ * Added ${gc} which can be used to get the GC statistics (very limited)
+ * Added ${processinfo} which can be used to extract the performance
+ information about the current process (possibly others in the future as
+ well)
+ * Added ${gc} which can be used to get the GC statistics (very limited)
+ * Added Initialize() and Close() to the LayoutRender class
+ * Added optimized CurrentTimeGetter which is way faster than DateTime.Now
+ * Some small optimizations
+
+2006-07-18 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added ImpersonatingWrapper which temporarily changes the credentials
+ for the duration of the write.
+ * Moved the implementation of LogManager to a reusable LogFactory while
+ maintaining its public interface. You can now easily have a private
+ LogManager for an assembly.
+
+2006-07-17 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Synchronized Visual Studio solutions to source code directories. Now
+ part of the build process.
+
+2006-07-14 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added proper camelCasing to the web build process
+ * Fix for multiple email addresses being passed in To,CC and BCC fields
+ under .NET 2.0 (reported by Pawel Parzychowski)
+
+2006-07-07 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * BREAKING CHANGE - Added NLog.ILayout which Layout implements to
+ allow other layout types (such as CSV-escaped, HTML-colored,
+ XML-escaped, ANSI-colored) to be implemented
+ NLog.Layout became sealed.
+ * BREAKING CHANGE - Added NLog.TargetWithLayout, removed Layout
+ and CompiledLayout from NLog.Target
+ * BREAKING CHANGE - Removed CSVFile target, converted examples to File + CsvLayout
+ * Added pluggable layouts (CSV, Log4JXml), LayoutFactory and
+ LayoutAttribute. The syntax is:
+
+ <target xsi:type="File">
+ <layout xsi:type="CSVLayout">
+ <column name="message" layout="${message}" />
+ <column name="level" layout="${level}" />
+ </layout>
+ </target>
+
+ Of course the old syntax is still supported for simple layouts:
+
+ <target xsi:type="File" layout="${message}" />
+ * BREAKING CHANGE - FileTarget.KeepFileOpen is back to the default
+ of false. Thankfully we now have <default-target-parameters /> so this
+ can be easily overriden.
+
+2006-07-05 Maciej Figatowski <mfigatow@sav.net>
+ * Added FilterResult.IgnoreFinal and FilterResult.LogFinal
+ which suppress processing of further rules if the filter
+ matches.
+
+2006-07-04 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added NLog_Init() and NLog_InitLocal() APIs to NLogC
+
+2006-07-04 Marcin Krupinski <yoszek@gmail.com>
+ * added FormControl target that logs to Text property of any
+ Windows.Forms.Control
+ * added RichTextBox target with row- and word coloring that
+ logs to RichTextBox
+
+2006-06-30 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added ${tempdir} and ${specialfolder}
+
+2006-06-29 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * implemented <targets><default-target-parametes /> </targets> that
+ specifies default values for all targets in the section
+
+2006-06-25 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * implemented <targets><default-wrapper /> </targets> that wraps all
+ targets in <targets> section with the specified wrapper.
+
+2006-06-23 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed some race conditions in the Network target
+ * added NetworkTarget.Close()
+ * added CSVFile target which does proper CSV formatting (multi-line and
+ special character quoting)
+
+2006-06-14 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added <include file="..." ignoreErrors="true|false" />
+ * fixed autoReload to keep monitoring the file if the reloaded file
+ has an error
+ * added Logger.Log(LogEventInfo) overload
+ * added Logger.Log(Type,LogEventInfo) overload
+ * added LoggerReconfiguredDelegate and Logger.LoggerReconfigured event
+
+2006-06-13 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added BufferedWrapper.FlushTimeout
+ * Added some unit tests
+ * Fixed AsyncWrapper not closing files on termination.
+
+2006-06-11 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added FileTarget.LineEnding
+ * Added some unit tests
+ * Added Layout.Escape() which escapes ${ with ${literal:text=${}
+
+2006-06-04 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed compilation, schema generationa and website building on Linux/Mono.
+ * Updated version number to 1.0 (preparing for the release)
+ * Optimized file appenders
+ * added support for flags-type enumerations
+ * Benchmark updates
+ * Configurable stacktrace/separator
+
+2006-05-31 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Grammar issues (thanks Ron)
+ * Added "separator" option to the ${stacktrace} layout renderer.
+
+2006-05-30 Inez Korczynski <korczynski@gmail.com>
+ * Implementation of SOAP 1.2 and POST for WebService target.
+
+2006-05-28 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Preliminary implementation of SOAP 1.1 for WebService target.
+ * Added deleteOldFileOnStartup to the File target
+ * Added replaceFileContentsOnEachWrite to the File target
+ * We now have examples for 100% of targets, both
+ ready-to-run VS2005 projects and configuration files.
+
+2006-05-26 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Prepared ready-to-run example projects for VS2005 that describe
+ most targets.
+ * Added WebService target stub.
+
+2006-05-25 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Implemented AsyncWrapper for .NET CF using the Timer class
+ * Refactored file watching - should speed up non-logging by 100%
+
+2006-05-20 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added support for VC#Express and VBExpress to the installer.
+ * Added VS2005 C# and VB.NET code snippet (nlogger) to quickly
+ insert logger creation statement
+ * Added VS2005 item templates for NLog configuration. Updated the
+ installer.
+ * Removed some stupid Console.Write()
+ * Updated MailTarget.SmtpAuthentication to be SmtpAuthenticationMode instead
+ of a string.
+
+
+2006-05-15 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Fixed File target causing delay at exit.
+ * Added generation of NLog.xsd schema for Intellisense.
+
+2006-05-15 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Reverted to NDoc 1.3.1 running under CLR 2.0 for docgen.
+
+2006-05-10 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * (hopefully) Fixed OpenFileCacheTimeout taking too much CPU
+
+2006-05-05 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Completely rebuilt the installer.
+ * Reworked the way documentation is generated. We now use NDoc 2.0 Alpha
+ 3k and there are still some minor issues.
+ * Separate compilation of NLog for all supported frameworks
+ * Cleaned up the code, now compiles with warnaserror="true"
+
+2006-04-22 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Merged NLog.Win32.dll, NLog.DotNet.dll, NLog.Unix.dll and NLog.Mono.dll
+ into one assembly NLog.dll
+ * Added attributes which mark support for particular runtimes and OSes
+
+2006-04-18 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added LayoutRenderer.IsAppDomainFixed() and an optimization to turn
+ such things into literals.
+ * Added LoggingConfiguration.GetConfiguredNamedTargets() API
+ * BREAKING CHANGE - Completely restructured the way File target works.
+ The new structure is based on Streams instead of StreamWriters and
+ enables archiving (kind of similar to "rolling file appender" from log4net
+ world, but supporting multiple files at a time)
+ * BREAKING CHANGE - removed some properties which accepted strings. Now
+ replaced with enums.
+ * Added caching to File target to optimize the number file open/close
+ operations
+ * Added an option for multiple processes to append to the same OPEN file
+ in a synchronized manner. Unixes get this for free, but Win32 requires
+ you to use mutexes to synchronize file access.
+ * Enabled the use of enumerations as parameteters (including docgen)
+ * Added InternalLogger.LogToConsoleError and their config file and
+ environment variable counterparts
+ * Refactored website generation
+
+2006-03-27 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Updated .NET CF project file
+
+2006-03-21 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Fixed a programmatic configuration bug where invalid value was passed
+ to LoggingRule.LoggerNamePattern.
+ Thanks to danieljaysmith - at - excite - dot - com for spotting this.
+
+2006-03-19 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Optimization to defer calling String.Format() until it's really
+ needed.
+
+2006-02-24 Rafal Gwizdala <gwrafal@poczta.onet.pl>
+
+ * Add PerfCounter target that increases the PC value by one each
+ time the message is passed to it.
+ * Added FSNormalize option to ${identity} target to strip all
+ characters not allowed in the file names and replace them with
+ underscores.
+
+2006-02-24 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added config-level option <targets async="true">...</targets>
+ to automatically wrap all targets with AsyncWrapper
+
+2006-02-14 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Updated license and email addresses.
+ * Updated assembly version and description for 0.95 release.
+
+2006-02-13 Yuri Mamrukov <yvm@att.net>
+
+ * Patch to simplify InternalLogger configuration from environment
+ variables and/or App.config settings. Fixes some nasty bug here.
+
+2006-02-13 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added some docs, moving website to http://www.nlog-project.org/
+ * Excluded NLogViewer from build and project.
+ * Refactored LoggerImpl to allow for some extensibility in the future.
+
+2006-01-13 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Fixed a serious reentrancy bug which caused all sorts of problems
+ when formatted message included a parameter where ToString
+ did the logging itself.
+
+2005-10-26 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added ${aspnet-sessionid} to access (guess!) ASP.NET session ID
+
+2005-10-25 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added ASPNetBufferingWrapper target which buffers and post-processes
+ the entire ASP.NET request (requires you to use the NLogHttpModule)
+ * Added PostFilteringWrapper target which is able to filter log events
+ based on a buffer as a whole. It is possible for example to dump the
+ detailed ( >= Trace level) trace of a request if there was at least
+ one >= Warn event in the buffer, but under normal conditions only output
+ the >= Info levels.
+ * Reworked the way the documentation is generated (we no longer use
+ ugly IFRAMEs and the same method is used to generate the website and
+ the docs)
+ * Added a new conditions language (see conditions.html for more
+ information) which let you write powerful filtering conditions
+ while keeping the syntax natural and readable
+ * Added <when condition="..." action="..." /> filter which uses condition
+ expressions
+ * Added examples for the MailTarget and BufferedMailTarget
+ * Fixed Close() behaviour for unnamed targets (like the ones configured
+ by SimpleConfigurator)
+ * Added some more documentation (still some work to do before the release)
+ * Fixed the example for asynchronous Tile target (async="true" is not
+ supported and is replaced by the AsyncWrapper target)
+
+2005-10-21 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added ${processname}, ${processid} layout renderers
+ * Added GDC (Global Diagnostics Context) and ${gdc} layout renderer which
+ is a global (as opposed to per-thread) version of MDC and ${mdc}
+
+2005-10-11 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Fixed a nullref exception when no config file was present.
+ * Fixed support for CC field in the Mail target
+
+2005-09-29 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Added batch NLogC compilation, added installer and nlogc binary
+ snapshot.
+ * Added authentication options to the Mail target (thanks Ron).
+
+2005-09-28 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+ * Refactored NLogViewer by separating NLogViewer.Interfaces
+ * Added NLogViewer.NDumbsterSmtpReceiver (by Ron Grabowski)
+ * Added support for caching layout results per logEvent which
+ makes them transportable across threads
+ * Renamed Target.Append() method to Write() (how did I forget it?)
+ * Added Target.Write(LogEvent[] manyEvents) for cases where the
+ target can optimize group writes
+ * Added Log4JXmlEvent.cs
+ * Added Wrappers: AsyncWrapper, AutoFlushWrapper, BufferingWrapper,
+ RepeatingWrapper, RetryingWrapper
+ * Some preliminary work on request buffering wrappers.
+ * Added compound targets (fallback, randomize, roundrobin, split)
+ * WARNING: This requires some serious testing.
+
+2005-09-19 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added ${windows-identity} layout renderer. Restructured the
+ way extensions are loaded (ExtensionUtils).
+
+2005-08-28 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Some work on NLogViewer
+
+2005-08-14 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed #34: Typos in the code prevented Chainsaw target
+ from working properly.
+ * Added #31: MSMQ target
+ * Added #30: EventLog target
+ * Fixed #8: Made Performance Counter layout renderer somewhat more
+ reliable and added a bit of documentation.
+ * Fixed #29: Root logging level support.
+ Added <nlog globalThreshold="..." />
+ * Massive website, documentation and packaging updates
+ * Added SimpleConfigurator.ConfigureForTargetLogging() and
+ SimpleConfigurator.ConfigureForFileLogging()
+
+2005-08-10 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed #28: Documentation threading safety statement bug
+
+2005-08-08 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added #27: Debugger target.
+ * Fixed #26: ${callsite} not working with database parameters
+
+2005-07-27 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Added #24: ${logger:shortname=true} option.
+
+2005-07-23 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed #23: ${callsite} doesn't work with MethodCall target and
+ NLogViewer target
+
+2005-07-14 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * Fixed #22: Connection string builder omits ; after Server parameter
+
+2005-07-11 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added an overridable FileTarget.WriteToFile method to allow for subclassing
+ of File target to support encryption
+
+2005-07-09 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed the Trace target in Release mode by defining TRACE symbol
+
+2005-07-06 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added a new Trace level, more verbose than the Debug
+
+2005-07-05 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed VS.NET Compact Framework project file
+
+2005-06-28 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added support for <variable name="" value="" /> configuration element
+ * added experimental PerformanceCounter layout renderer.
+
+2005-06-25 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed the Trace target in Release mode by defining TRACE symbol
+
+2005-06-23 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added some minimal VB.NET test code
+ * added some meaningful error message when a named target is not defined.
+
+2005-06-20 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed bugs related to ${asp-request:cookie} and ${aspnet-request:cookie} and many other small bugs
+
+2005-06-17 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixes for case-insensitive parsing of the config files.
+ * added IgnoreCase option to filters
+ * added unit tests that verify case-insensitivity.
+ * added many more unit tests (we have now over 70% coverage)
+
+2005-06-16 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * fixed the filter configuration bug as reported by Ron Grabowski
+
+2005-06-10 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * added StackTrace layout renderer, 3 different logging formats
+ * added NewLine layout renderer
+ * added async="true" to the "File" target to improve logging speed by
+ writing messages in a separate thread and optimizing file access.
+ * fixed NLogC compilation
+ * refactored NLogViewer to use log4j schema instead of inventing my own
+ * fixed CompactFramework build
+
+2005-06-09 Jaroslaw Kowalski <jaak@jkowalski.net>
+ * NLog v0.9 has been released.
View
64 LICENSE.txt
@@ -1,32 +1,32 @@
-
-Copyright (c) 2004-2010 Jaroslaw Kowalski <jaak@jkowalski.net>
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of Jaroslaw Kowalski nor the names of its
- contributors may be used to endorse or promote products derived from this
- software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
-
+
+Copyright (c) 2004-2010 Jaroslaw Kowalski <jaak@jkowalski.net>
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+* Neither the name of Jaroslaw Kowalski nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
View
48 README.rdoc
@@ -1,24 +1,24 @@
-= Welcome to NLog
-
-NLog is a free logging platform for .NET with rich log routing and management
-capabilities. It makes it easy to produce and manage high-quality logs for
-your application regardless of its size or complexity.
-
-It can process diagnostic messages emitted from any .NET language, augment
-them with contextual information, format them according to your preference
-and send them to one or more targets such as file or database.
-
-.NET, C/C++ and COM interop APIs are supported so that all your application
-components including legacy modules written in C++/COM can route their log
-messages through a common engine.
-
-NLog is open source software, licensed under the terms of BSD license.
-See LICENSE.txt for details.
-
-Project Homepage: http://nlog-project.org
-
-Project RSS Feed: http://nlog-project.org/feed/
-
-== Latest News:
-
-http://feeds.feedburner.com/nlog.2.gif
+= Welcome to NLog
+
+NLog is a free logging platform for .NET with rich log routing and management
+capabilities. It makes it easy to produce and manage high-quality logs for
+your application regardless of its size or complexity.
+
+It can process diagnostic messages emitted from any .NET language, augment
+them with contextual information, format them according to your preference
+and send them to one or more targets such as file or database.
+
+.NET, C/C++ and COM interop APIs are supported so that all your application
+components including legacy modules written in C++/COM can route their log
+messages through a common engine.
+
+NLog is open source software, licensed under the terms of BSD license.
+See LICENSE.txt for details.
+
+Project Homepage: http://nlog-project.org
+
+Project RSS Feed: http://nlog-project.org/feed/
+
+== Latest News:
+
+http://feeds.feedburner.com/nlog.2.gif
View
402 build.cmd
@@ -1,202 +1,202 @@
-@echo off
-rem Try to find the highest version of MSBuild available...
-set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
-set MSBUILD_SCRIPT="%~dp0src\NLog.proj"
-set POST_BUILD_COMMAND=
-if not exist %MSBUILD% set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe
-if not exist %MSBUILD% (
- echo MSBuild not found, please update %0
- exit /b 1
-)
-
-set MSBUILD_ARGUMENTS=
-:next
-if (%1)==() goto build
-if (%1)==(usemsbuild35) (
- set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe
- shift
- goto next
-)
-
-if (%1)==(netfx20) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX20=true
- shift
- goto next
-)
-
-if (%1)==(netfx35) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX35=true
- shift
- goto next
-)
-
-if (%1)==(netfx40) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX40=true
- shift
- goto next
-)
-
-if (%1)==(netcf20) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetCF20=true
- shift
- goto next
-)
-
-if (%1)==(netcf35) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetCF35=true
- shift
- goto next
-)
-
-if (%1)==(mono2) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildMono2=true
- shift
- goto next
-)
-
-if (%1)==(sl2) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL2=true
- shift
- goto next
-)
-
-if (%1)==(sl3) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL3=true
- shift
- goto next
-)
-
-if (%1)==(sl4) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL4=true
- shift
- goto next
-)
-
-if (%1)==(debug) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:Configuration=Debug
- shift
- goto next
-)
-
-if (%1)==(release) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:Configuration=Release
- shift
- goto next
-)
-
-if (%1)==(doc) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Documentation
- shift
- goto next
-)
-
-if (%1)==(dumpapi) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:DumpApi
- shift
- goto next
-)
-
-if (%1)==(clean) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Clean
- shift
- goto next
-)
-
-if (%1)==(deepclean) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:DeepClean
- shift
- goto next
-)
-
-if (%1)==(build) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Build
- shift
- goto next
-)
-
-if (%1)==(buildtests) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:BuildTests
- shift
- goto next
-)
-
-if (%1)==(runtests) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:RunTests
- set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
- shift
- goto next
-)
-
-if (%1)==(rebuild) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Rebuild
- shift
- goto next
-)
-
-if (%1)==(checkinsuite) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:CheckinSuite
- set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
- shift
- goto next
-)
-
-if (%1)==(archive) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Archive /p:ArchiveSuffix=%2
- shift
- shift
- goto next
-)
-
-if (%1)==(all) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:All
- set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
- shift
- goto next
-)
-
-if (%1)==(nightlybuild) (
- set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:NightlyBuild
- shift
- goto next
-)
-
-echo Usage: %0 [configuration] [platform]... [target]...
-echo.
-echo Where platform is one or more of the following:
-echo.
-echo netfx20 .NET Framework 2.0
-echo netfx35 .NET Framework 3.5
-echo netfx40 .NET Framework 4.0
-echo netcf20 .NET Compact Framework 2.0
-echo netcf35 .NET Compact Framework 3.5
-echo sl2 Silverlight 2.0
-echo sl3 Silverlight 3.0
-echo sl4 Silverlight 4.0
-echo mono2 Mono 2.x
-echo.
-echo Configurations are:
-echo.
-echo debug
-echo release
-echo.
-echo Targets can be:
-echo.
-echo clean Removes output files
-echo deepclean Removes temporary and intermediate files
-echo archive {suffix} Produce ZIP files for each framework
-echo build Compiles assemblies
-echo buildtests Compiles tests
-echo runtests Runs unit tests
-echo checkinsuite Cleans, builds and runs all tests
-echo doc Builds documentation
-echo all Full build
-echo nightlybuild Nightly build
-exit /b 1
-
-:build
-echo MSBUILD: %MSBUILD%
-echo MSBUILD_SCRIPT: %MSBUILD_SCRIPT%
-echo MSBUILD_ARGUMENTS: %MSBUILD_ARGUMENTS%
-%MSBUILD% /nologo /fl %MSBUILD_SCRIPT% %MSBUILD_ARGUMENTS%
-%POST_BUILD_COMMAND%
+@echo off
+rem Try to find the highest version of MSBuild available...
+set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
+set MSBUILD_SCRIPT="%~dp0src\NLog.proj"
+set POST_BUILD_COMMAND=
+if not exist %MSBUILD% set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe
+if not exist %MSBUILD% (
+ echo MSBuild not found, please update %0
+ exit /b 1
+)
+
+set MSBUILD_ARGUMENTS=
+:next
+if (%1)==() goto build
+if (%1)==(usemsbuild35) (
+ set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild.exe
+ shift
+ goto next
+)
+
+if (%1)==(netfx20) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX20=true
+ shift
+ goto next
+)
+
+if (%1)==(netfx35) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX35=true
+ shift
+ goto next
+)
+
+if (%1)==(netfx40) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetFX40=true
+ shift
+ goto next
+)
+
+if (%1)==(netcf20) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetCF20=true
+ shift
+ goto next
+)
+
+if (%1)==(netcf35) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildNetCF35=true
+ shift
+ goto next
+)
+
+if (%1)==(mono2) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildMono2=true
+ shift
+ goto next
+)
+
+if (%1)==(sl2) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL2=true
+ shift
+ goto next
+)
+
+if (%1)==(sl3) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL3=true
+ shift
+ goto next
+)
+
+if (%1)==(sl4) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:BuildSL4=true
+ shift
+ goto next
+)
+
+if (%1)==(debug) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:Configuration=Debug
+ shift
+ goto next
+)
+
+if (%1)==(release) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /p:Configuration=Release
+ shift
+ goto next
+)
+
+if (%1)==(doc) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Documentation
+ shift
+ goto next
+)
+
+if (%1)==(dumpapi) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:DumpApi
+ shift
+ goto next
+)
+
+if (%1)==(clean) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Clean
+ shift
+ goto next
+)
+
+if (%1)==(deepclean) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:DeepClean
+ shift
+ goto next
+)
+
+if (%1)==(build) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Build
+ shift
+ goto next
+)
+
+if (%1)==(buildtests) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:BuildTests
+ shift
+ goto next
+)
+
+if (%1)==(runtests) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:RunTests
+ set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
+ shift
+ goto next
+)
+
+if (%1)==(rebuild) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Rebuild
+ shift
+ goto next
+)
+
+if (%1)==(checkinsuite) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:CheckinSuite
+ set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
+ shift
+ goto next
+)
+
+if (%1)==(archive) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:Archive /p:ArchiveSuffix=%2
+ shift
+ shift
+ goto next
+)
+
+if (%1)==(all) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:All
+ set POST_BUILD_COMMAND="%~dp0src\LastTestRunSummary.cmd"
+ shift
+ goto next
+)
+
+if (%1)==(nightlybuild) (
+ set MSBUILD_ARGUMENTS=%MSBUILD_ARGUMENTS% /t:NightlyBuild
+ shift
+ goto next
+)
+
+echo Usage: %0 [configuration] [platform]... [target]...
+echo.
+echo Where platform is one or more of the following:
+echo.
+echo netfx20 .NET Framework 2.0
+echo netfx35 .NET Framework 3.5
+echo netfx40 .NET Framework 4.0
+echo netcf20 .NET Compact Framework 2.0
+echo netcf35 .NET Compact Framework 3.5
+echo sl2 Silverlight 2.0
+echo sl3 Silverlight 3.0
+echo sl4 Silverlight 4.0
+echo mono2 Mono 2.x
+echo.
+echo Configurations are:
+echo.
+echo debug
+echo release
+echo.
+echo Targets can be:
+echo.
+echo clean Removes output files
+echo deepclean Removes temporary and intermediate files
+echo archive {suffix} Produce ZIP files for each framework
+echo build Compiles assemblies
+echo buildtests Compiles tests
+echo runtests Runs unit tests
+echo checkinsuite Cleans, builds and runs all tests
+echo doc Builds documentation
+echo all Full build
+echo nightlybuild Nightly build
+exit /b 1
+
+:build
+echo MSBUILD: %MSBUILD%
+echo MSBUILD_SCRIPT: %MSBUILD_SCRIPT%
+echo MSBUILD_ARGUMENTS: %MSBUILD_ARGUMENTS%
+%MSBUILD% /nologo /fl %MSBUILD_SCRIPT% %MSBUILD_ARGUMENTS%
+%POST_BUILD_COMMAND%
exit /b 0
View
2  build/README.txt
@@ -1 +1 @@
-Output binaries will be created here. Do not delete this directory.
+Output binaries will be created here. Do not delete this directory.
View
104 examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.csproj
@@ -1,53 +1,53 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>InheritFromLogger</RootNamespace>
- <AssemblyName>InheritFromLogger</AssemblyName>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="NLog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" />
- <Reference Include="System" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="NLog.config">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>InheritFromLogger</RootNamespace>
+ <AssemblyName>InheritFromLogger</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="NLog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" />
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Program.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="NLog.config">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
</Project>
View
40 examples/ExtendingLoggers/InheritFromLogger/InheritFromLogger.sln
@@ -1,20 +1,20 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InheritFromLogger", "InheritFromLogger.csproj", "{E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InheritFromLogger", "InheritFromLogger.csproj", "{E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E9EC09E9-F6F6-4CEA-923C-A8D580BF73D9}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
32 examples/ExtendingLoggers/InheritFromLogger/NLog.config
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <targets>
- <target name="eventlog"
- xsi:type="EventLog"
- eventID="${event-context:EventID}"
- source="NLog Example"
- layout="${message}" />
- </targets>
-
- <rules>
- <logger name="*" minlevel="Debug" writeTo="eventlog" />