Rolf Kristensen
Rolf Kristensen
- [ ] Waiting for NLog v5.3
- [ ] Waiting for NLog v5.3 Also marked these two members as obsolete on the ILogger-interface. Instead use the Logger-class: - `event EventHandler LoggerReconfigured` - `LogFactory Factory` Both are...
- AccurateLocalTimeSource - AccurateUtcTimeSource - FastLocalTimeSource - FastUtcTimeSource
This would allow use of [when-conditions](https://github.com/NLog/NLog/wiki/When-Layout-Renderer) (Ex. LogLevel >= Error) to decide if console-output should be sent to StdOut or StdErr.
These are the colors used by NLog ColoredConsole: ``` new ConsoleRowHighlightingRule("level == LogLevel.Fatal", ConsoleOutputColor.Red, ConsoleOutputColor.NoChange), new ConsoleRowHighlightingRule("level == LogLevel.Error", ConsoleOutputColor.Yellow, ConsoleOutputColor.NoChange), new ConsoleRowHighlightingRule("level == LogLevel.Warn", ConsoleOutputColor.Magenta, ConsoleOutputColor.NoChange), ``` The standard...
LogFactory / LogManager should not have any assembly-reflection-logic. See also: #3366 First step is marking the method as obsolete, and finding a new good place for it. I think the...
Remove the Text-property-setter, and the ConfigurationItemFactory-instance-field. This will allow one to create SimpleLayout without involving the ConfigurationItemFactory. Introduce fluent-api for creating SimpleLayout from chain of layoutrenderers (skip parsing and reflection-logic)
Current NLog Schema complains about `Layout`-options when not declared like simple attributes: ```xml mssql insert into LogTable(time_stamp,level,logger,message) values(@time_stamp, @level, @logger, @message); ``` Could be nice if the NLog XSD Schema...
```c# public Layout MaxMessageLength { get; set; } public Layout MaxKilobytes { get; set; } public Layout MachineName { get; set; } public Layout Log { get; set; } ```
Could be nice if one could do this: ```json { "NLog": { "throwConfigExceptions": true, "targets": { "logconsole": { "type": "Console" }, "email": { "type": "mail" }, "bothTargets": { "type": "SplitGroup",...