AdkAgentLogEntry class

Represents a single I/O log entry recorded during agent execution.

Constructors

AdkAgentLogEntry({required String id, required DateTime timestamp, required String agentName, required AdkLogCategory category, required String title, String? subtitle, dynamic payload, int? durationMs, int? tokenCount, bool isError = false})
Creates an AdkAgentLogEntry.

Properties

agentName String
Name of the agent producing or receiving this event.
final
category AdkLogCategory
Category filter for the log entry.
final
durationMs int?
Latency in milliseconds if applicable.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique log entry ID.
final
isError bool
Whether this entry represents a failure or error.
final
payload → dynamic
Detailed payload (Map, List, string, or json-serializable object).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
Optional subtitle or snippet.
final
timestamp DateTime
Log creation timestamp.
final
title String
Short headline title.
final
tokenCount int?
Token usage if applicable.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited