thingco / shared-frontend-libs

0 stars 0 forks source link

@thingco/logger package #66

Closed DanCouper closed 3 years ago

DanCouper commented 3 years ago

This provides a useLogger hook that can be used in packages and applications. Currently, it just uses a default of console logging, providing info, log, warn and error functions. Going forward, I'll add a logging package as a dependency to allow logs to be turned on and off via configuration setting (this is the main point of this library existing).