NAME
Kernel::System::Configuration::Role::ProvidesLogMethods
DESCRIPTION
Role that provides logging methods to Export/Import classes.
has DisableLog
Attribute that holds a flag, indicating if all logging should be disable or not.
has Debug
Attribute that holds a flag, indicating if the bug logging should be printed or not.
LogInfo()
Prints information messages.
$Process->LogInfo( Message => '...', );
LogError()
Prints error messages.
$Process->LogError( Message => '...', );
LogDebug()
Prints debug messages.
$Process->LogDebug( Message => '...', );
LogWarn()
Prints warning messages.
$Process->LogWarn( Message => '...', );
_Log()
Prints messages, having in consideration the flags Debug
and DisableLog
.
$Self->_Log(
Level => '...'
Message => '...',
);