mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
320 B
14 lines
320 B
package pipeline
|
|
|
|
|
|
// ForceLog should rarely be used. It forceable logs an entry to the
|
|
// Windows Event Log (on Windows) or to the SysLog (on Linux)
|
|
func ForceLog(level LogLevel, msg string) {
|
|
if !enableForceLog {
|
|
return
|
|
}
|
|
if sanitizer != nil {
|
|
msg = sanitizer.SanitizeLogMessage(msg)
|
|
}
|
|
forceLog(level, msg)
|
|
}
|
|
|