From 831ff1cdcac0bf5f75a6832dffda30b6b292e751 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 27 May 2024 11:17:18 +0300 Subject: Interface update --- lib/_ak_log | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3