mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
nettrace: Add a new tracing library
This commit introduces a new tracing library, that replaces golang.org/x/net/trace, and supports (amongts other thing) nested traces. This is a minimal change, future patches will make use of the new functionality.
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
|
||||
// Global event logs.
|
||||
var (
|
||||
authLog = trace.NewEventLog("Authentication", "Incoming SMTP")
|
||||
authLog = trace.New("Authentication", "Incoming SMTP")
|
||||
)
|
||||
|
||||
// Logger contains a backend used to log data to, such as a file or syslog.
|
||||
|
||||
Reference in New Issue
Block a user