# First off load Log4Bash into your script using
source ./log4bash.sh # Replace this with the path to log4bash.sh
# This one assumes Log4Bash is located in the same directory
# As where you are running the script from
# Log using these functions
DEBUG "Example Debug Message"
INFO "Wow this must be something that's still of some importance but is not a debug message"
NOTICE "This is almost like info but should only be used with significant conditions"
WARNING "Hey! You might wanna check this out. You run fine if you ignore it"
ERROR "Something messed up. We can still run without exiting you should seriously look into this though"
CRITICAL "Something is seriously messed up. We can still run but beware"
ALERT "Action must be taken immediately, exiting the script to prevent damage"
EMERGENCY "The system is unusable. Exiting the script"
forked from GoByeBye/Log4Bash
-
Notifications
You must be signed in to change notification settings - Fork 0
License
lt77777/Log4Bash
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Shell 100.0%