This is the official sdk for monitro.dev Currently this package is in beta, so expect breaking changes.
npm install monitro
bun add monitro
bun add monitro
import { Monitro } from 'monitro'
const monitro = new Monitro('my-service', 'api-key' , { hookExceptions: true, dev: false })
monitro.info('Info Event', 'this is a detailed info message')
monitro.warn('Warning Event', 'this is a detailed warning message')
monitro.error('Error Event', 'this is a detailed error message')
Read the docs for more information documentation