Open synhershko opened 12 years ago
How about Common.Logging facade? It's been around and has "bridges" for several logging framework ( I use it with NLog2 which has a nice way to wrap all logging appenders into "async pipeline").... More info @: https://github.com/net-commons/common-logging
NAU should log all steps and decisions. Logging should also be exposed to classes implementing the internal interfaces (conditions, readers, tasks, sources).
Logging would be update-process wide, and transferred over the IPC back and forth if cold-updates are required.
No dependencies, although integration with external libs could be nice for existing projects interested in a unified logging mechanism. This could probably be achieved by integrating https://github.com/damianh/DH.Logging
Exceptions should be logged as well where possible (async mode).