Event

AbyssMonitor allows you to send EVENT to an application. Each event is stored with details (event, level, extra data...), and it can be linked to a log

Event helps you to monitor you application activity easily

Events should be structure as "a.b.c" so it will be automatically stacked as "a", and "a.b" Send a event "a.b.d" and it will count also in "a" and "a.b"

  1. Send an event

logger.info(
  `User signup !`,
  {
    applicationEvent: {
      event: 'auth.user.signup',
      level: LogLevel.INFO,
    },
  }
)
  1. Check your events

Last updated