Commit 2f4b177f08c21ffb3f7c41858224006f365937ef

Authored by Marko Tikvić
1 parent e025a87380
Exists in master

trace log and trace error

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
... ... @@ -87,7 +87,7 @@ func LogError(comment string, err error) {
87 87 logger.splitErrorLog()
88 88 }
89 89  
90   -func LogDetailedEvent(event string) {
  90 +func TraceEvent(event string) {
91 91 muEv.Lock()
92 92 defer muEv.Unlock()
93 93 _, file, line, ok := runtime.Caller(1)
... ... @@ -101,7 +101,7 @@ func LogDetailedEvent(event string) {
101 101 logger.splitEventLog()
102 102 }
103 103  
104   -func LogDetailedError(err error) {
  104 +func TraceError(err error) {
105 105 muEr.Lock()
106 106 defer muEr.Unlock()
107 107 _, file, line, ok := runtime.Caller(1)
... ...