In-Code Logs

Setup message and events logging

Log Messages/Events

WatchLogger.Log("...Test Log...");
WatchLogger.LogWarning(JsonConvert.Serialize(model));
WatchLogger.LogError(res.Content, eventId: reference);

Sink Logs from ILogger

You can also sink logs from the .NET ILogger into WatchDog

For .NET 5 and above

For .NET Core 3.1

Last updated

Was this helpful?