Class LogMessage
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.LogMessage
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LogMessage
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Log message details.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogMessage.Builder
Builder.static interface
LogMessage.Level
The severity of the log message. -
Method Summary
Modifier and Type Method Description String
code()
Gets the code.String
level()
Gets the level.String
msg()
Gets the msg.LogMessage.Builder
newBuilder()
New builder.LogMessageSource
source()
Gets the source.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a LogMessage builder
-
level
Gets the level.The severity of the log message.
- Returns:
- the level
-
msg
Gets the msg.The text of the log message.
- Returns:
- the msg
-
code
Gets the code.A code that indicates the category to which the error message belongs.
- Returns:
- the code
-
source
Gets the source.An object that identifies the dialog element that generated the error message.
- Returns:
- the source
-