Package org.pentaho.di.core.logging
Class LogMessage
java.lang.Object
org.pentaho.di.core.logging.LogMessage
- All Implemented Interfaces:
LogMessageInterface
-
Constructor Summary
ConstructorDescriptionLogMessage
(String message, String logChannelId, Object[] arguments, LogLevel level) LogMessage
(String message, String logChannelId, LogLevel level) Recommended use :LogMessage
(String subject, LogLevel level) Backward compatibility : no registry used, just log the subject as part of the message -
Method Summary
Modifier and TypeMethodDescriptionObject[]
getCopy()
getLevel()
boolean
isError()
void
setArguments
(Object[] arguments) Deprecated.void
void
Deprecated.void
setLogChannelId
(String logChannelId) Deprecated.void
setMessage
(String message) Deprecated.void
setSubject
(String subject) Deprecated.toString()
Deprecated.
-
Constructor Details
-
LogMessage
Backward compatibility : no registry used, just log the subject as part of the message- Parameters:
message
-logChannelId
-
-
LogMessage
Recommended use :- Parameters:
message
-logChannelId
-level
- the log level
-
LogMessage
-
-
Method Details
-
toString
Deprecated. -
getLevel
- Specified by:
getLevel
in interfaceLogMessageInterface
-
setLevel
Deprecated. -
getMessage
- Specified by:
getMessage
in interfaceLogMessageInterface
- Returns:
- The formatted message.
-
setMessage
Deprecated.- Parameters:
message
- the message to set
-
getSubject
- Specified by:
getSubject
in interfaceLogMessageInterface
- Returns:
- the subject
-
setSubject
Deprecated.- Parameters:
subject
- the subject to set
-
getLogChannelId
- Specified by:
getLogChannelId
in interfaceLogMessageInterface
- Returns:
- the logChannelId
-
setLogChannelId
Deprecated.- Parameters:
logChannelId
- the logChannelId to set
-
getArguments
- Specified by:
getArguments
in interfaceLogMessageInterface
- Returns:
- the arguments
-
setArguments
Deprecated.- Parameters:
arguments
- the arguments to set
-
isError
public boolean isError() -
getCopy
- Specified by:
getCopy
in interfaceLogMessageInterface
-
setCopy
-