diff --git a/main.go b/main.go index 6c0b315..5f45d89 100644 --- a/main.go +++ b/main.go @@ -87,7 +87,7 @@ func LogError(comment string, err error) { logger.splitErrorLog() } -func LogDetailedEvent(event string) { +func TraceEvent(event string) { muEv.Lock() defer muEv.Unlock() _, file, line, ok := runtime.Caller(1) @@ -101,7 +101,7 @@ func LogDetailedEvent(event string) { logger.splitEventLog() } -func LogDetailedError(err error) { +func TraceError(err error) { muEr.Lock() defer muEr.Unlock() _, file, line, ok := runtime.Caller(1)