Home » Archives for May 2016

Month: May 2016

Logging in Microsoft Azure custom applications

Logging is highly important if you want to build maintainable solutions. There are frameworks like Log4Net that you can use for it, but I prefer to use the out of the box Azure logging mechanism:

System.Diagnostics.Trace.WriteLine("Writes a verbose message.");

System.Diagnostics.Trace.TraceInformation("Writes an info message.");
System.Diagnostics.Trace.TraceWarning("Writes a warning message.");
System.Diagnostics.Trace.TraceError("Writes an error message.");

Read more