Package io.dapr.actors
Class ActorTrace
- java.lang.Object
-
- io.dapr.actors.ActorTrace
-
public final class ActorTrace extends Object
Class to emit trace log messages.
-
-
Constructor Summary
Constructors Constructor Description ActorTrace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteError(String type, String id, String msgFormat, Object... params)Writes an error trace log.voidwriteInfo(String type, String id, String msgFormat, Object... params)Writes an information trace log.voidwriteWarning(String type, String id, String msgFormat, Object... params)Writes an warning trace log.
-
-
-
Method Detail
-
writeInfo
public void writeInfo(String type, String id, String msgFormat, Object... params)
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
public void writeWarning(String type, String id, String msgFormat, Object... params)
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.
-
-