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 classLogMessage.BuilderBuilder.static interfaceLogMessage.LevelThe severity of the log message. -
Method Summary
Modifier and Type Method Description Stringcode()Gets the code.Stringlevel()Gets the level.Stringmsg()Gets the msg.LogMessage.BuildernewBuilder()New builder.LogMessageSourcesource()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
-