Add printing of number of goroutines to assist with performance improvements

This commit is contained in:
Fred Boniface
2024-04-08 21:22:56 +01:00
parent 3e5ed2c10a
commit 7146d1a883
4 changed files with 32 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ func init() {
// Determine the log level based on the runtime mode
logLevel := zapcore.DebugLevel
if helpers.Runtime == "production" {
if helpers.Runtime != "debug" {
logLevel = zapcore.InfoLevel
}