To simplify adding JustLog.IT logging into your .Net application. This library supports any type of .NET application (web, web api, desktop application, windows service, etc.)
Follow these steps to get our .Net library installed and running in your application.
The following methods are all found in the JustLogIt.Nuget.Library namespace.
This is the list of methods on the logging interface you can call to store values from your running web application.
|LogError||Posts an error object into JustLog.IT.|
|LogPerformance||Logs method performance into JustLog.IT.|
|LogEvent||Logs a tracked user action.|
|logInformation||Writes an information log entry into the system. These are useful to provide context to other entries, especially errors.|
The .NET library is written to be as non-intrusive as possible for your code. When you call a logging method the library adds the object into a queue. There is a background thread running which processes queue items. This allows your logging actions to happen as rapidly as possible, not bogging down any ohter actions your application is performing.
The communication with the JustLog.IT logging endpoints (REST-ful API) uses the HttpClient object found in the System.Net.Http assembly.