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
Branches
Tags v1.195.0
No related merge requests found
...@@ -109,6 +109,9 @@ func InitLogs(requestID *string, isDebugBuild bool, buildVersion string, request ...@@ -109,6 +109,9 @@ func InitLogs(requestID *string, isDebugBuild bool, buildVersion string, request
isDebug = isDebugBuild isDebug = isDebugBuild
build = buildVersion build = buildVersion
raygunClient = client raygunClient = client
disableLogging = false
storeLogsUntilTriggered = false
cachedLogEntries = []LogEntryWithLevel{}
if isDebugBuild { if isDebugBuild {
log.SetReportCaller(true) log.SetReportCaller(true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment