To trace any generic function, wrap it with EpsagonGeneralHandler.

public string Task (string param)
{
  return EpsagonGeneralHandler.Handle(() =>
  {

    // application logic here

    return param;
  });
}

📘

Be Sure to Set the Environment Variables

EPSAGON_TOKEN - Your Epsagon Token, can be found in the Dashboard.

EPSAGON_APP_NAME - Name of Epsagon Application (optional)


Did this page help you?