Package org.pentaho.di.core.logging
Class LogMessage
java.lang.Object
org.pentaho.di.core.logging.LogMessage
- All Implemented Interfaces:
LogMessageInterface
-
Constructor Summary
ConstructorsConstructorDescriptionLogMessage(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()booleanisError()voidsetArguments(Object[] arguments) Deprecated.voidvoidDeprecated.voidsetLogChannelId(String logChannelId) Deprecated.voidsetMessage(String message) Deprecated.voidsetSubject(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:
getLevelin interfaceLogMessageInterface
-
setLevel
Deprecated. -
getMessage
- Specified by:
getMessagein interfaceLogMessageInterface- Returns:
- The formatted message.
-
setMessage
Deprecated.- Parameters:
message- the message to set
-
getSubject
- Specified by:
getSubjectin interfaceLogMessageInterface- Returns:
- the subject
-
setSubject
Deprecated.- Parameters:
subject- the subject to set
-
getLogChannelId
- Specified by:
getLogChannelIdin interfaceLogMessageInterface- Returns:
- the logChannelId
-
setLogChannelId
Deprecated.- Parameters:
logChannelId- the logChannelId to set
-
getArguments
- Specified by:
getArgumentsin interfaceLogMessageInterface- Returns:
- the arguments
-
setArguments
Deprecated.- Parameters:
arguments- the arguments to set
-
isError
public boolean isError() -
getCopy
- Specified by:
getCopyin interfaceLogMessageInterface
-
setCopy
-