diff --git a/functions/logs b/functions/logs index 71f53dd0..7b71a5e9 100644 --- a/functions/logs +++ b/functions/logs @@ -37,6 +37,11 @@ log_warn() { console_output "Warning: $*\n" } +log_warn_n() { + logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "Warning: $*" + console_output "Warning: $*" +} + log_error() { logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "Error: $*" console_output "Error: $*\n" >&2