mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
fix: fixed logging
This commit is contained in:
parent
d7d9711457
commit
6106ec80a2
2 changed files with 6 additions and 6 deletions
10
log/log.go
10
log/log.go
|
@ -5,21 +5,21 @@ import (
|
|||
)
|
||||
|
||||
func Debug(format string, args ...interface{}) {
|
||||
session.I.Events.Log(session.DEBUG, format, args)
|
||||
session.I.Events.Log(session.DEBUG, format, args...)
|
||||
}
|
||||
|
||||
func Info(format string, args ...interface{}) {
|
||||
session.I.Events.Log(session.INFO, format, args)
|
||||
session.I.Events.Log(session.INFO, format, args...)
|
||||
}
|
||||
|
||||
func Warning(format string, args ...interface{}) {
|
||||
session.I.Events.Log(session.WARNING, format, args)
|
||||
session.I.Events.Log(session.WARNING, format, args...)
|
||||
}
|
||||
|
||||
func Error(format string, args ...interface{}) {
|
||||
session.I.Events.Log(session.ERROR, format, args)
|
||||
session.I.Events.Log(session.ERROR, format, args...)
|
||||
}
|
||||
|
||||
func Fatal(format string, args ...interface{}) {
|
||||
session.I.Events.Log(session.FATAL, format, args)
|
||||
session.I.Events.Log(session.FATAL, format, args...)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue