enable changing debug and prefix by outside callers

This commit is contained in:
2021-03-27 10:29:41 -04:00
parent 80985d1084
commit 0887f0c76e
6 changed files with 11 additions and 11 deletions

View File

@@ -35,11 +35,11 @@ func (l *FileLogger) GetPrefix() string {
return l.Prefix
}
func (l *FileLogger) doDebug(d bool) {
func (l *FileLogger) DoDebug(d bool) {
l.EnableDebug = d
}
func (l *FileLogger) setPrefix(prefix string) {
func (l *FileLogger) SetPrefix(prefix string) {
l.Prefix = prefix
l.Logger.SetPrefix(prefix)
}