paperdave / various

Various libraries and applications related to TypeScript. Everything is contained in a monorepo to improve productivity and reduce boilerplate.
MIT License
31 stars 3 forks source link

feat: allow custom prefix #23

Closed xhyrom closed 2 years ago

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 72f3503eb82f5434479119e6ba710c6fca69876f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @paperdave/logger | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

paperdave commented 2 years ago

this is nice but I didnt expose that log helper because the API in it isn't exactly ideal. but since custom prefixes have no alternative at the moment I'll merge this in. In the future there should be a real custom prefix function that handles formatting, and the every function like info is just a wrapper around that, and not how it currently is setup.