ISpectLoggerBloc extension
Trace helpers for BLoC / Cubit lifecycle events.
These are typically emitted by the ispectify_bloc observer - call them
directly only when instrumenting a custom BlocObserver.
- on
Methods
-
blocClose(
{required String source, required String target, Map< String, Object?> ? meta, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonCloseunder stateCategory with thebloc-closekey. -
blocCreate(
{required String source, required String target, Map< String, Object?> ? meta, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonCreateunder stateCategory with thebloc-createkey. -
blocDone(
{required String source, required String target, bool hasError = false, Object? error, StackTrace? errorStackTrace, Map< String, Object?> ? meta, String? correlationId, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonDoneunder stateCategory with thebloc-donekey. -
blocError(
{required String source, required String target, required Object error, StackTrace? errorStackTrace, Map< String, Object?> ? meta, String? correlationId, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonErrorunder stateCategory with thebloc-errorkey. -
blocEvent(
{required String source, required String target, Map< String, Object?> ? meta, String? correlationId, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonEventunder stateCategory with thebloc-eventkey. -
blocState(
{required String source, required String target, Map< String, Object?> ? meta, String? correlationId, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonChangeunder stateCategory with thebloc-statekey. -
blocTransition(
{required String source, required String target, Map< String, Object?> ? meta, String? correlationId, ISpectTraceConfig? config, String? consoleMessage}) → void -
Available on ISpectLogger, provided by the ISpectLoggerBloc extension
LogsonTransitionunder stateCategory with thebloc-transitionkey.