]> git.ipfire.org Git - people/stevee/guardian.git/commitdiff
Remove Update method from Logger module.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 10:06:46 +0000 (11:06 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 9 Dec 2015 10:06:46 +0000 (11:06 +0100)
If any settings has been changed, just recall the "New" method
again and pass the new settings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
modules/Logger.pm

index a29d078665172e6dfe97ce9db9cc7aa510a994f7..6a70bc37fba82acdce837dc82bd9cc3ae31297b4 100644 (file)
@@ -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.
 #
 #
 ## GetLogLevels function.
 #