_Log_
A log entry emitted by a subgraph during indexing. Logs can be generated by the subgraph's AssemblyScript code using the
log.* functions.
type _Log_ {
id: String!
subgraphId: String!
timestamp: String!
level: LogLevel!
text: String!
arguments: [_LogArgument_!]!
meta: _LogMeta_!
}
Fields
_Log_.id ● String! non-null scalar
Unique identifier for this log entry
_Log_.subgraphId ● String! non-null scalar
The deployment hash of the subgraph that emitted this log
_Log_.timestamp ● String! non-null scalar
The timestamp when the log was emitted, in RFC3339 format (e.g., '2024-01-15T10:30:00Z')
_Log_.level ● LogLevel! non-null enum
The severity level of the log entry
_Log_.text ● String! non-null scalar
The log message text
_Log_.arguments ● [_LogArgument_!]! non-null object
Additional structured data passed to the log function as key-value pairs
_Log_.meta ● _LogMeta_! non-null object
Metadata about the source location in the subgraph code where the log was emitted