forked from daroczig/logger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request daroczig#170 from hadley/check-inputs
Check inputs for `log_` setters
- Loading branch information
Showing
6 changed files
with
972 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# setters check inputs | ||
|
||
Code | ||
log_appender(1) | ||
Condition | ||
Error in `log_appender()`: | ||
! `appender` must be a function | ||
Code | ||
log_formatter(1) | ||
Condition | ||
Error in `log_formatter()`: | ||
! `formatter` must be a function | ||
Code | ||
log_layout(1) | ||
Condition | ||
Error in `log_layout()`: | ||
! `layout` must be a function | ||
Code | ||
log_threshold("x") | ||
Condition | ||
Error in `validate_log_level()`: | ||
! Invalid log level | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.