From 5c43d3a843dd5ccfff1b937e4d1174097ea22cc8 Mon Sep 17 00:00:00 2001 From: ge Date: Thu, 19 May 2022 08:53:41 +0300 Subject: [PATCH] feat: Add logging --- src/lib/handlers/cp.sh | 2 ++ src/lib/handlers/tar.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/handlers/cp.sh b/src/lib/handlers/cp.sh index c3a9c87..4776913 100644 --- a/src/lib/handlers/cp.sh +++ b/src/lib/handlers/cp.sh @@ -22,6 +22,8 @@ handler::cp() { # # Usage: handler::cp URI + log "Run handler handler::cp() ..." + local uri local dst_path diff --git a/src/lib/handlers/tar.sh b/src/lib/handlers/tar.sh index 880a417..aa39d3b 100644 --- a/src/lib/handlers/tar.sh +++ b/src/lib/handlers/tar.sh @@ -21,6 +21,8 @@ handler::tar() { # # Usage: handler::tar URI + log "Run handler handler::tar() ..." + local uri local src_path local dst_path