Skip to content

Commit d464ca9

Browse files
Update logging level options in documentation to reflect valid values (snowflakedb#1738)
1 parent bf2aa60 commit d464ca9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ func init() {
129129
_ = gosnowflake.GetLogger().SetLogLevel("debug")
130130
}
131131
```
132-
The following is a list of options you can pass in to set the level from least to most verbose:
132+
The following is a list of options you can pass in to set the level from least to most verbose:
133133
- `"OFF"`
134+
- `"fatal"`
134135
- `"error"`
135136
- `"warn"`
136-
- `"print"`
137-
- `"trace"`
138-
- `"debug"`
139137
- `"info"`
138+
- `"debug"`
139+
- `"trace"`
140140

141141

142142
## Capturing Code Coverage

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The following connection parameters are supported:
162162
In this case (with this default validation deliberately turned off) the driver cannot guarantee that the actual behaviour inside the session will match with the one you'd expect, i.e. not actually using the database you expect, and so on.
163163
164164
- tracing: Specifies the logging level to be used. Set to error by default.
165-
Valid values are trace, debug, info, print, warning, error, fatal, panic.
165+
Valid values are off, fatal, error, warn, info, debug, trace.
166166
167167
- logQueryText: when set to true, the full query text will be logged. Be aware that it may include sensitive information. Default value is false.
168168

0 commit comments

Comments
 (0)