updating to have func to print prefix
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package logging
|
||||
|
||||
import (
|
||||
`log`
|
||||
`log/syslog`
|
||||
`os`
|
||||
"log"
|
||||
"log/syslog"
|
||||
"os"
|
||||
)
|
||||
|
||||
type Logger interface {
|
||||
@@ -17,6 +17,7 @@ type Logger interface {
|
||||
Warning(string, ...interface{}) error
|
||||
doDebug(bool)
|
||||
setPrefix(string)
|
||||
GetPrefix() string
|
||||
Setup()
|
||||
Shutdown()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user