Fix LogLevelFromString doc formatting
This commit is contained in:
@@ -33,12 +33,12 @@ type Logger interface {
|
|||||||
// LogLevelFromString converts log level string to constant
|
// LogLevelFromString converts log level string to constant
|
||||||
//
|
//
|
||||||
// Valid levels:
|
// Valid levels:
|
||||||
// trace
|
// trace
|
||||||
// debug
|
// debug
|
||||||
// info
|
// info
|
||||||
// warn
|
// warn
|
||||||
// error
|
// error
|
||||||
// none
|
// none
|
||||||
func LogLevelFromString(s string) (int, error) {
|
func LogLevelFromString(s string) (int, error) {
|
||||||
switch s {
|
switch s {
|
||||||
case "trace":
|
case "trace":
|
||||||
|
|||||||
Reference in New Issue
Block a user