A logging utility for Figmarine packages.
A basic logger utility for Figmarine packages. Currently does nothing special. It's only used to ensure logging is centralised for future journaling needs.
Install the package with the following command:
pnpm i @figmarine/logger
Then, import the logging utility you want to use:
import { log } from '@figmarine/logger';
log('My message');
Clone the project
git clone https://github.com/Sidnioulz/figmarine.git
Go to the project directory
cd packages/logger
Install dependencies
pnpm install
Build the code as you make changes
pnpm dev
Check that tests run as you make changes
pnpm test:dev
- [ ] Add log levels (error, warn, info, debug)
- [ ] Automate caller identification
- [ ] Switch to template literal format and auto-colour params with chalk
- [ ] Add unit tests for log levels
See how to contribute.
Distributed under the MIT License.
Please open a conversation in the discussion space to ask a question.
Please open an issue for bug reports or code suggestions.