From 21725fb8fd70f7985c7b7240235763c3792dea35 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 9 Dec 2015 11:06:46 +0100 Subject: [PATCH] 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 --- modules/Logger.pm | 14 -------------- 1 file changed, 14 deletions(-) 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. # -- 2.39.5