From d116de0b5dfb1038d44bbb12fe18d4c998b564a7 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 29 Dec 2016 14:39:38 +0100 Subject: [PATCH] Add log_debug() --- gitlab/functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gitlab/functions.sh b/gitlab/functions.sh index bf52fd7..aa861da 100644 --- a/gitlab/functions.sh +++ b/gitlab/functions.sh @@ -10,6 +10,11 @@ arch() { # Functions for coloring echo commands +log_debug() { + echo -e "(`date +%T`) \033[1;32m${@}\033[0m" +} + + log_info() { echo -e "(`date +%T`) \033[1;34m${@}\033[0m" } -- GitLab