An open API service indexing awesome lists of open source software.

https://github.com/karenpayneoregon/tracelistener

Demo for runtime logging including NLog
https://github.com/karenpayneoregon/tracelistener

csharp-code csharp-core logger nlog

Last synced: about 1 year ago
JSON representation

Demo for runtime logging including NLog

Awesome Lists containing this project

README

          

# TraceListener sample

![Figure 1](assets/Tree.png)

### LogLibrary
- SideTraceListener thread safe class wrapper for [TextWriterTraceListener](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.textwritertracelistener?view=netframework-4.8) as a singleton (Ensure a class has only one instance and provide a global point of access to it.) to write informational and exception information across domains in a C# solution, in this case SIDES UIPortal.
- Logger class, base for SideTraceListener, not used.

### FileOperations
Used to test trace SideTraceListener in another namespace for recording runtime exceptions.

### GeneralExperimentsWithTrace

Test
- Initialize and finalize of SideTraceListener
- Calling test methods