x) Updated `Config.cs` to include a new instance of `XmlFormatter2Cfg` with specified data structure and POD. x) Renamed the `destroy()` method in `Log.cs` to `shutdown()`. x) Modified the startup process in `Log.cs` to check if it's already running, providing an info log if true. x) Changed the encoding for StreamWriter in `startup()` method to UTF8 and added buffer size. x) Commented out error stream related lines in Log.cs as they are not being used currently. x) Added exception handling when processing message headers in log events. x) Added checks for null or whitespace strings before writing them into files or console. Trimmed any null characters from lines before writing them into files. x) Removed unnecessary white spaces and commented code blocks. |
||
|---|---|---|
| .. | ||
| GC.cs | ||
| Log.cs | ||
| Tracing.cs | ||