mirror of
https://github.com/jackc/pgx.git
synced 2025-07-10 20:48:09 +00:00
Fix LogLevelFromString doc formatting
This commit is contained in:
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…
x
Reference in New Issue
Block a user