Feat: crash log (#7)
Merged #6 - crash log (db0e1be9a02f70927124f9f3563df5e9dee3a764) - perf(watchdog): limit buffer size and optimize crash substring search (https://github.com/versenilvis/IRIS/pull/7/commits/7725434fedf8b32929dc0d71e1256fda13cfdfca) - refactor(crash): use dynamic buffer for stack trace capture (https://github.com/versenilvis/IRIS/pull/7/commits/07809a4330a1236471e8dae0e83afd4323a4c83a)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
var DebugWriter io.Writer
|
||||
|
||||
func debugLog(format string, a ...interface{}) {
|
||||
func debugLog(format string, a ...any) {
|
||||
if DebugWriter != nil {
|
||||
_, _ = fmt.Fprintf(DebugWriter, format+"\n", a...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user