CtrlAppDiagnostics class
Methods
addBreadcrumb (String name , {Map <String , Object ? > ? attrs })
→ void
captureError (Object err , {StackTrace ? stack , Map <String , Object ? > ? context })
→ void
captureException (Object err , [StackTrace ? stack ])
→ void
Parity alias mirroring JS/Swift/.NET SDKs.
dispose ()
→ void
drain ()
→ List <Map <String , Object ? > >
exportDiagnosticBundle ()
→ String
getDiagnostics ()
→ Map <String , Object ? >
log (String level , String message , {Map <String , Object ? > ? attrs })
→ void
Emit a structured log breadcrumb. Level MUST be one of trace/debug/
info/warn/error/fatal. Attributes are scalar-only; secret-looking keys
are dropped. The server re-sanitizes on ingest.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setContext (Map <String , Object ? > ctx )
→ void
setUser ({String ? id , List <String > ? segments })
→ void
toString ()
→ String
A string representation of this object.
inherited