Package io.dapr.actors
Class ActorTrace
java.lang.Object
io.dapr.actors.ActorTrace
Class to emit trace log messages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteError(String type, String id, String msgFormat, Object... params) Writes an error trace log.voidWrites an information trace log.voidwriteWarning(String type, String id, String msgFormat, Object... params) Writes an warning trace log.
-
Constructor Details
-
ActorTrace
public ActorTrace()
-
-
Method Details
-
writeInfo
Writes an information trace log.- Parameters:
type- Type of log.id- Instance identifier.msgFormat- Message or message format (with type and id input as well).params- Params for the message.
-
writeWarning
Writes an warning trace log.- Parameters:
type- Type of log.id- Instance identifier.msgFormat- Message or message format (with type and id input as well).params- Params for the message.
-
writeError
Writes an error trace log.- Parameters:
type- Type of log.id- Instance identifier.msgFormat- Message or message format (with type and id input as well).params- Params for the message.
-