O
Oscar Thornell
Hi,
I am thinking about doing all my logging asynchronously using a delegate.
The main resaon for this would be performance and responsiveness of the
application (an ASP.NET app).
//Exampel
delegate void LogDelegate(string message);
LogDelegate logger = new LogDelegate(Log.Debug);
logger.DynamicInvoke("Some message..");
I appreciate feedback about the approach/idea! Like the overhead of creating
a delegate and so on...
Regards
/Oscar
I am thinking about doing all my logging asynchronously using a delegate.
The main resaon for this would be performance and responsiveness of the
application (an ASP.NET app).
//Exampel
delegate void LogDelegate(string message);
LogDelegate logger = new LogDelegate(Log.Debug);
logger.DynamicInvoke("Some message..");
I appreciate feedback about the approach/idea! Like the overhead of creating
a delegate and so on...
Regards
/Oscar