logging

- Logging operational information (startup, navigation milestones, feature boundaries).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "logging" with this command: npx skills add yelmuratoff/agent_sync/yelmuratoff-agent-sync-logging

Logging (ISpect)

When to use

  • Logging operational information (startup, navigation milestones, feature boundaries).

  • Logging warnings (non-fatal but important issues).

  • Handling and reporting exceptions at async boundaries (BLoC/repository/datasource).

Steps

  1. Use ISpect for all logging

ISpect.logger.info('Orders screen opened'); ISpect.logger.warning('Slow response from orders API'); ISpect.logger.debug('Orders refreshed (count: $count)');

Do not use print , debugPrint , or log .

  1. Use ISpect.logger.handle for caught exceptions

try { await repository.getOrders(); } catch (e, st) { ISpect.logger.handle( exception: e, stackTrace: st, message: 'Failed to load orders', ); rethrow; }

  1. Avoid PII and secrets

Never log:

  • tokens, credentials, session identifiers

  • emails/phones, names, addresses, IDs

  • raw request/response payloads that may include user data

  1. Attach structured context when safe

If ISpect is configured for structured logging, attach small non-sensitive context:

ISpect.logger.log( 'Orders refresh completed', key: 'orders_refresh', data: {'count': count, 'source': source}, );

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

di

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

dependencies

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

effective-commenting

No summary provided by upstream source.

Repository SourceNeeds Review