npm.io
0.74.45 • Published 1 week ago

@stacksjs/logging

Licence
MIT
Version
0.74.45
Deps
0
Vulns
0
Weekly
0
Stars
620

Stacks Logging

The Stacks logging system.

Features

  • Logging tooling

Usage

bun install -d @stacksjs/logging

Now, you can use it in your project:

import { dd, dump, log } from '@stacksjs/logging'

log('some log message')
log.debug('some debug message')
log.info('some info message')
log.warn('some warning message')
log.error('some error message')
log.success('some success message')

dump('some dump message')
dd('some dd message')
echo('some echo message')

// and more...

Learn more in the docs.

Testing

bun test

Changelog

Please see our releases page for more information on what has changed recently.

Contributing

Please review the Contributing Guide for details.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

License

The MIT License (MIT). Please see LICENSE for more information.

Made with

Keywords