updating to have func to print prefix

This commit is contained in:
2021-02-27 00:51:58 -05:00
parent c6d53a0cca
commit 80985d1084
6 changed files with 59 additions and 44 deletions

View File

@@ -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()
}