@figmarine/logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@figmarine/logger

A logging utility for Figmarine packages.

Status: Experimental commit activity last commit open issues CodeQL status CI status code coverage contributors code of conduct: contributor covenant 2.1 license forks stars sponsor this project


📔 Table of Contents

🌟 Package Details

A basic logger utility for Figmarine packages. Currently does nothing special. It's only used to ensure logging is centralised for future journaling needs.

👀 Usage

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');

🏃 Run Locally

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

🎯 Roadmap

  • [ ] 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

👋 Contributing

See how to contribute.

⚠️ License

Distributed under the MIT License.

🆘 Support

Please open a conversation in the discussion space to ask a question.

Please open an issue for bug reports or code suggestions.

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i @figmarine/logger

    Weekly Downloads

    97

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • sdlazaro