We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924b316 commit 5a32108Copy full SHA for 5a32108
1 file changed
logger/logger.go
@@ -56,7 +56,7 @@ func writeToMongo(level, message string) {
56
return
57
}
58
59
- mongoCollection.InsertOne(context.TODO(), Log{
+ go mongoCollection.InsertOne(context.TODO(), Log{
60
CreatedAt: time.Now(),
61
Level: level,
62
Message: message,
0 commit comments