_logs
Query execution logs emitted by the subgraph during indexing. Results are sorted by timestamp in descending order (newest first).
_logs(
level: LogLevel
from: String
to: String
search: String
first: Int = 100
skip: Int = 0
orderDirection: OrderDirection = desc
): [_Log_!]!
Arguments
_logs.level ● LogLevel enum
Filter logs by severity level. Only logs at this level will be returned.
_logs.from ● String scalar
Filter logs from this timestamp onwards (inclusive). Must be in RFC3339 format (e.g., '2024-01-15T10:30:00Z').
_logs.to ● String scalar
Filter logs until this timestamp (inclusive). Must be in RFC3339 format (e.g., '2024-01-15T23:59:59Z').
_logs.search ● String scalar
Search for logs containing this text in the message. Case-insensitive substring match. Maximum length: 1000 characters.
_logs.first ● Int scalar
Maximum number of logs to return. Default: 100, Maximum: 1000.
_logs.skip ● Int scalar
Number of logs to skip (for pagination). Default: 0, Maximum: 10000.
_logs.orderDirection ● OrderDirection enum
Sort direction for results. Default: desc (newest first).
Type
_Log_ object
A log entry emitted by a subgraph during indexing. Logs can be generated by the subgraph's AssemblyScript code using the
log.* functions.