Skip to content
Snippets Groups Projects
Commit 01aa3128 authored by Jano Hendriks's avatar Jano Hendriks
Browse files

Initialise global logging variables in InitLogs

parent 1e1c13a5
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,9 @@ func InitLogs(requestID *string, isDebugBuild bool, buildVersion string, request
isDebug = isDebugBuild
build = buildVersion
raygunClient = client
disableLogging = false
storeLogsUntilTriggered = false
cachedLogEntries = []LogEntryWithLevel{}
if isDebugBuild {
log.SetReportCaller(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment