A utility class for formatting and standardizing the log messages for provisioning events.
The original version of this class provided variants on a log
function with an org.slf4j.Logger
as the first parameter. This logger
parameter was ignored, however, and instead this class's static Logger
instance (named “e3provLogger”) was used to output all messages.
To make this class more compatible with the idea of logging categories introduced by com.alu.e3.common.logging.CategoryLogger
, the internal static Logger
has been changed to a CategoryLogger
(with category PROV
), and the logger
parameter is no longer ignored. If the logger
is not null
, then that logger
will be used to output (and categorize) the formatted message. If logger
is null, this class's logger
will be used instead, which is the equivalent of the original operation.