From: Stefan Schantl Date: Wed, 9 Dec 2015 10:06:46 +0000 (+0100) Subject: Remove Update method from Logger module. X-Git-Tag: 2.0~57 X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fguardian.git;a=commitdiff_plain;h=21725fb8fd70f7985c7b7240235763c3792dea35 Remove Update method from Logger module. If any settings has been changed, just recall the "New" method again and pass the new settings. Signed-off-by: Stefan Schantl --- diff --git a/modules/Logger.pm b/modules/Logger.pm index a29d078..6a70bc3 100644 --- a/modules/Logger.pm +++ b/modules/Logger.pm @@ -85,20 +85,6 @@ sub Log ($$) { } } -# -## The Update (Logger) settings function -# -## This function is used to update the object settings of the -## initialized Logger class. -# -sub Update (%) { - my ($self, %args) = @_; - - # Map the new hash keys and values to the existing one inside - # the class. - map { $self->{ $_ } = $args{ $_ } } keys %args; -} - # ## GetLogLevels function. #