Updated
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
PatternDetectionInterval = TimeSpan.FromMinutes(3)
|
||||
};
|
||||
|
||||
MemoryGuard.Start(_config);
|
||||
//MemoryGuard.Start(_config);
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
int onLogCounter = 0;
|
||||
@@ -94,6 +94,7 @@
|
||||
|
||||
// Create the adapter
|
||||
var adapter = new LogCentralEonaCatAdapter(logger.LoggerSettings, logClient);
|
||||
await LogManager.Instance.WriteAsync("LogCentral adapter initialized", ELogType.INFO).ConfigureAwait(false);
|
||||
|
||||
// Now all EonaCat.Logger logs will be sent to LogCentral automatically
|
||||
await logger.LogAsync("This is a test log message sent to LogCentral!", ELogType.INFO).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user