Logging & Error Handling
How to handle errors and log AI activity
Logging
static class Program
{
static Program()
{
Application.Services.
.AddOrReplaceService<ILoggerService, MyLoggerService>();
}
}Module Program
Shared Sub New()
Application.Services.AddOrReplaceService( _
Of ILoggerService, MyLoggerService)()
End Sub
End ModuleError Handling
Last updated
