Debian Codegraph @

log/log.go

raw symbols SCIP
1 package log
2
3 import (
4 "github.com/bettercap/bettercap/session"
5
6 ll "github.com/evilsocket/islazy/log"
7 )
8
9 func Debug(format string, args ...interface{}) {
10 session.I.Events.Log(ll.DEBUG, format, args...)
11 }
12
13 func Info(format string, args ...interface{}) {
14 session.I.Events.Log(ll.INFO, format, args...)
15 }
16
17 func Warning(format string, args ...interface{}) {
18 session.I.Events.Log(ll.WARNING, format, args...)
19 }
20
21 func Error(format string, args ...interface{}) {
22 session.I.Events.Log(ll.ERROR, format, args...)
23 }
24
25 func Fatal(format string, args ...interface{}) {
26 session.I.Events.Log(ll.FATAL, format, args...)
27 }