#
-## The "New" (Logger) function.
+## The "Init" (Logger) function.
#
## This function is responsible to initialize the Logger as a class based object.
## It has to be called once before logging can be done.
## The following arguments must be passed, when initializing a new Logger:
## "LogLevel" and "LogFacility" with valid values from above.
#
-sub New (%) {
+sub Init (%) {
my ( $class, %args ) = @_;
my $self = \%args;
## This really simple function just returns the hash which
## contains all supported log levels.
#
-sub LogLevels () {
+sub GetLogLevels () {
# Nothing to do, just return the loglevels hash.
return %loglevels;
}