MCPLogEntry class

MCP Log Entry for structured logging

Constructors

MCPLogEntry.new({required String id, required DateTime timestamp, required LogLevel level, required String message, required Map<String, dynamic> context, LogEvent? event, required String source})
MCPLogEntry.fromJson(Map<String, dynamic> json)
factory

Properties

context Map<String, dynamic>
final
event LogEvent?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
level LogLevel
final
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
final
timestamp DateTime
final

Methods

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

Operators

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