Looking to find a replacement for the logging in an existing (almost legacy) application. This logs events based on eventId and has a dll configured as event message file (logging is done to event log and a message queue). The whole logging depends on event id as some logged events are uploaded to enterprise where they are internationalized based on the event id. To this logging infrastructure there was also added some file logging which does not use this event message file but rather logged plain strings (in house with file rollover and archiving support).
I was looking for an logging framework that will have standard interface for logging based on id (Error(id, object[] args)) and "plain" messages (Error(string message, object[] args)).
Neither log4net nor nlog seem to have such interfaces.
Is there any off the shelve logging framework supporting this or do i have to build by own. Or adapt somehow log4net/nlog for this.
thanks, florin