mirror of https://github.com/jackc/pgx.git
Fix LogLevelFromString doc formatting
parent
b3eed3cce0
commit
09f1ca5b00
12
logger.go
12
logger.go
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue