...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
string invoker = "IntegrationApi"; /*The name of the application using the log*/
Log.Initialize(invoker); /*Initializing the logger, making it ready for use*/
Log.LogInfo("Integration api started."); /*Initial message showing that teh logging and application have started*/
Log.LogInfo("Logger running"); |
When wanting to create a logentry do the following in the code:
...