From 28745ebffa18a22dbf727e257edaf88d544cf335 Mon Sep 17 00:00:00 2001 From: hjp Date: Sat, 24 Apr 2010 20:23:21 +0000 Subject: [PATCH] documented log levels --- lib/Simba/CA.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Simba/CA.pm b/lib/Simba/CA.pm index ae671a1..420aeee 100644 --- a/lib/Simba/CA.pm +++ b/lib/Simba/CA.pm @@ -368,6 +368,11 @@ sub name2gid { } } +# currently used log levels: +# 0 - fatal error, backup failed +# 3 - global progress messages, like start and end of a backup, statistics. +# 5 - errors which prevent a file from being backed up +# 10 - progress messages for single files. sub log { my ($self, $level, $msg) = @_; if ($level <= $self->{log_level}) {