synhershko / NAppUpdate

A simple framework for providing auto-update support to .NET applications
http://www.code972.com/blog/2010/08/nappupdate-application-auto-update-framework-for-dotnet/
Apache License 2.0
525 stars 163 forks source link

Logging #23

Open synhershko opened 12 years ago

synhershko commented 12 years ago

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).

zam6ak commented 11 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