Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Initializing is done in this way: 

Code Block
firstline1
titleLogger initialization
linenumberstrue
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");




Other functionality