aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_log
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_log')
-rwxr-xr-xlib/_ak_log16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/_ak_log b/lib/_ak_log
index e06051b..242bb27 100755
--- a/lib/_ak_log
+++ b/lib/_ak_log
@@ -4,6 +4,22 @@ logit(){
ak-log-message "$PROGRAM" "$1" "$2"
}
+_ak_log_warning(){
+ ak-log-message "$PROGRAM" "WARNING" "$1"
+}
+
+_ak_log_debug(){
+ ak-log-message "$PROGRAM" "DEBUG" "$1"
+}
+
+_ak_log_error(){
+ ak-log-message "$PROGRAM" "ERROR" "$1"
+}
+
+_ak_log_info(){
+ ak-log-message "$PROGRAM" "INFO" "$1"
+}
+
_ak_log_follow(){
tail -f $AK_LOGSFILE | while read -r p || [ -n "$p" ]
do