all: fix typos (#19693)

This commit is contained in:
Turiiya 2023-10-30 02:28:34 +01:00 committed by GitHub
parent ac40981bcc
commit 690ec7d3a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 159 additions and 150 deletions

View file

@ -22,7 +22,7 @@ pub fn (l &Log) get_level() Level {
return l.level
}
// set_level sets the logging level to `level`. Messges for levels above it will skipped.
// set_level sets the logging level to `level`. Messages for levels above it will skipped.
// For example, after calling log.set_level(.info), log.debug('message') will produce nothing.
// Call log.set_level(.disabled) to turn off the logging of all messages.
pub fn (mut l Log) set_level(level Level) {