Skip to content

Commit

Permalink
mfw-1681 add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
untanglejacob committed Nov 2, 2021
1 parent f1e6fb4 commit 7690929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/untangle/golang-shared/util"
)

// Config struct retains information about the where the log level map is stored, default log levels and writer that should be used
type Config struct {
FileLocation string
LogLevelMap map[string]string
Expand Down Expand Up @@ -210,7 +211,7 @@ type LogWriter struct {
source string
}

// NewLogWriter creates an io Writer to steam output to the Log facility
// DefaultLogWriter creates an io Writer to steam output to the Log facility
func DefaultLogWriter(name string) *LogWriter {
writer := new(LogWriter)
writer.buffer = make([]byte, 0)
Expand Down

0 comments on commit 7690929

Please sign in to comment.