To simplify adding JustLog.IT logging into your .Net application. This library supportsany 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.
Method | Parameters | Description |
---|---|---|
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 otherentries, especially errors. |
The .NET library is written to be as non-intrusive as possible for your code. When you call a logging method the libraryadds 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 other actions your application is performing.
The communication with the JustLog.IT logging endpoints (REST-ful API) uses the HttpClient object found in theSystem.Net.Http assembly.