This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.9.10: Moved to struct-based logging
- Added a new error type called `Message` as a preferred way of generating errors. - Removed error methods, such as `Noticee`, etc - Added labels to messages and loggers
- Loading branch information
Janos Pasztor
committed
Feb 19, 2021
1 parent
4c0a27b
commit ca8832c
Showing
11 changed files
with
177 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Error/message codes | ||
|
||
| Code | Explanation | | ||
|------|-------------| | ||
| `E_LOG_WRITE_FAILED` | ContainerSSH failed to write to the log output. This is fatal error and will cause ContainerSSH to stop. | | ||
| `E_LOG_ROTATE_FAILED` | ContainerSSH failed to close and reopen the logs. This is a fatal error and will cause ContainerSSH to stop. | | ||
| `E_LOG_FILE_OPEN_FAILED` | ContainerSSH failed to open a log file. This is a fatal error and will cause ContainerSSH to stop. | | ||
| `E_UNKNOWN_ERROR` | This is a generic error without any specificity. Please report this as a bug. | |
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
Oops, something went wrong.