...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
/*The name of the application usin the log*/
string invoker = "IntegrationApi";
string environmentVariableToggle = "INTEGRATIONAPI_LOGSTATE";
string appInsightsKey = "InstrumentationKey=xxxx";
Log.Initialize(invoker, environmentVariableToggle, appInsightsKey);
Log.LogInfo("Integration api started.");
Log.LogInfo("Logger running"); |
...