Skip to content

Commit

Permalink
feat: Add two functions Plain(...) and Plainf(...) for logging withou…
Browse files Browse the repository at this point in the history
…t any levels.
  • Loading branch information
G3 authored and G3 committed Sep 11, 2024
1 parent c1d84fe commit 9d0e7b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zzzlogi.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ type Logger interface {
Fatal(args ...interface{})
// Logs the specified arguments at Fatal level using the specified format.
Fatalf(format string, args ...interface{})
// Logs the specified arguments without any levels using the default format
// (i.e. separated by space). Note that timestamp and log level will not
// be printed when logging using this function.
Print(args ...interface{})
// Logs the specified arguments without any levels using the specified
// format. Note that timestamp and log level will not be printed when
// logging using this function.
Printf(format string, args ...interface{})
}

0 comments on commit 9d0e7b2

Please sign in to comment.