Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ addLoggerAsync
Function
addLoggerAsync
models/logs.go:68–77 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
}
67
68
func
addLoggerAsync() {
69
defer
atomic.AddInt32(&(loggerQueue.isRunning), -1)
70
o := orm.NewOrm()
71
72
for
{
73
logger := <-loggerQueue.channel
74
75
o.Insert(logger)
76
}
77
}
Callers
1
Add
Method · 0.85
Calls
1
Insert
Method · 0.45
Tested by
no test coverage detected