UNPKG

@skyra/logger

Version:

A lightweight logger system with level support

91 lines (60 loc) 8.75 kB
# Changelog All notable changes to this project will be documented in this file. # [@skyra/logger@2.0.4](https://github.com/skyra-project/archid-components/compare/@skyra/logger@2.0.3...@skyra/logger@2.0.4) - (2025-05-22) ## 🏠 Refactor - Switch to properly split CJS and ESM ([1a07da4](https://github.com/skyra-project/archid-components/commit/1a07da4ae9ddbf9fbf8caf550ddb3e1cea1f2209)) ([#298](https://github.com/skyra-project/archid-components/pull/298) by @favna) ## 🐛 Bug Fixes - **deps:** Update all non-major dependencies ([5393a0c](https://github.com/skyra-project/archid-components/commit/5393a0c28285f0ebd4a0d6b17d60f9a96b99a93a)) ([#397](https://github.com/skyra-project/archid-components/pull/397) by @renovate[bot]) - **deps:** Update all non-major dependencies ([b222bb6](https://github.com/skyra-project/archid-components/commit/b222bb697cadc02ac5997f66f679a87678aae7fa)) ([#396](https://github.com/skyra-project/archid-components/pull/396) by @renovate[bot]) - **deps:** Update all non-major dependencies ([d38f55b](https://github.com/skyra-project/archid-components/commit/d38f55b0db2d86ae8958d0d8669ca519f1085874)) ([#391](https://github.com/skyra-project/archid-components/pull/391) by @renovate[bot]) - **deps:** Update all non-major dependencies ([b1b6cde](https://github.com/skyra-project/archid-components/commit/b1b6cde63d5918e309fc2ded9a409550ac27fa8b)) ([#388](https://github.com/skyra-project/archid-components/pull/388) by @renovate[bot]) - **deps:** Update all non-major dependencies ([2a3232b](https://github.com/skyra-project/archid-components/commit/2a3232beae5666062e46703d9cf8807582ed9cf5)) ([#387](https://github.com/skyra-project/archid-components/pull/387) by @renovate[bot]) - **deps:** Update all non-major dependencies ([a92e0a3](https://github.com/skyra-project/archid-components/commit/a92e0a34b0fb9c443c035b9e592f529f045eeced)) ([#382](https://github.com/skyra-project/archid-components/pull/382) by @renovate[bot]) - **deps:** Update all non-major dependencies ([fe68090](https://github.com/skyra-project/archid-components/commit/fe68090e102ce3d90bb546995a11ae483dfaf34d)) ([#374](https://github.com/skyra-project/archid-components/pull/374) by @renovate[bot]) - **deps:** Update all non-major dependencies ([c4958f3](https://github.com/skyra-project/archid-components/commit/c4958f309705129b84bba7b67bcb54dca3fc3736)) ([#372](https://github.com/skyra-project/archid-components/pull/372) by @renovate[bot]) - **deps:** Update all non-major dependencies ([7edd912](https://github.com/skyra-project/archid-components/commit/7edd9126c38916fd3aeca65c8ac4a7c0673f2b90)) - **deps:** Update all non-major dependencies ([ac48314](https://github.com/skyra-project/archid-components/commit/ac4831401349f7b755c0ebd5c532e61e60562d8b)) ([#360](https://github.com/skyra-project/archid-components/pull/360) by @renovate[bot]) - **deps:** Update all non-major dependencies ([f6f86c3](https://github.com/skyra-project/archid-components/commit/f6f86c316aabf8b375b74e6ac7ef62b1aadd807f)) ([#353](https://github.com/skyra-project/archid-components/pull/353) by @renovate[bot]) - **deps:** Update all non-major dependencies ([f6d7625](https://github.com/skyra-project/archid-components/commit/f6d76256a14598cf18427dc6f282dfcc535710f8)) ([#336](https://github.com/skyra-project/archid-components/pull/336) by @renovate[bot]) - **deps:** Update all non-major dependencies ([faab5bb](https://github.com/skyra-project/archid-components/commit/faab5bbfc00899feb34cec53314c5758b1454c8a)) ([#331](https://github.com/skyra-project/archid-components/pull/331) by @renovate[bot]) - **deps:** Update all non-major dependencies ([1ca90e9](https://github.com/skyra-project/archid-components/commit/1ca90e97cda951d8f383cb9cb98b77e5aa266815)) ([#324](https://github.com/skyra-project/archid-components/pull/324) by @renovate[bot]) - **deps:** Update all non-major dependencies ([c1c4cfe](https://github.com/skyra-project/archid-components/commit/c1c4cfeaa9f8aa576c2a178de35ee0c232b40d92)) ([#322](https://github.com/skyra-project/archid-components/pull/322) by @renovate[bot]) - **deps:** Update all non-major dependencies ([e6c2cb4](https://github.com/skyra-project/archid-components/commit/e6c2cb43b4123e3a3d70eb4795a991ca6b9902b5)) ([#308](https://github.com/skyra-project/archid-components/pull/308) by @renovate[bot]) # [@skyra/logger@2.0.3](https://github.com/skyra-project/archid-components/compare/@skyra/logger@2.0.3...@skyra/logger@2.0.3) - (2023-12-10) ## 🐛 Bug Fixes - **deps:** Update all non-major dependencies ([d64478a](https://github.com/skyra-project/archid-components/commit/d64478a87defafe5b2e7cf1454fbd17801913721)) # [@skyra/logger@2.0.2](https://github.com/skyra-project/archid-components/compare/@skyra/logger@2.0.2...@skyra/logger@2.0.2) - (2023-11-17) ## 🐛 Bug Fixes - Replace `const enum` with `enum` (#286) ([f7c7f64](https://github.com/skyra-project/archid-components/commit/f7c7f64143d035e89b187014073da2c1278d0380)) - **deps:** Update all non-major dependencies ([aed5a61](https://github.com/skyra-project/archid-components/commit/aed5a615be59d88e082eefe7a700337e7b3e1637)) - **deps:** Update all non-major dependencies ([098ea85](https://github.com/skyra-project/archid-components/commit/098ea85e886440a54d56698d985fc3964b424bda)) - **deps:** Update all non-major dependencies ([f7b68b7](https://github.com/skyra-project/archid-components/commit/f7b68b79e09779ae8e922cb1deec43018a224ea6)) # [@skyra/logger@2.0.1](https://github.com/skyra-project/archid-components/compare/@skyra/logger@2.0.0...@skyra/logger@2.0.1) - (2023-04-21) ## 🐛 Bug Fixes - **deps:** Use caret in `colorette`'s version (#244) ([669d539](https://github.com/skyra-project/archid-components/commit/669d5393b644213cfb2f0a13b939df21fb93e781)) # [@skyra/logger@2.0.0](https://github.com/skyra-project/archid-components/compare/@skyra/logger@1.0.1...@skyra/logger@2.0.0) - (2023-04-12) ## 🏠 Refactor - Add select menu classes (#200) ([cbab493](https://github.com/skyra-project/archid-components/commit/cbab493afc198d24226bd626efa80c82379ea36c)) - Support `JSONEncodable<T>` types in registry ([59a57d9](https://github.com/skyra-project/archid-components/commit/59a57d906b5765374d8cf8fc509c32273b477195)) - 💥 **feat:** `RegisterCommand` now supports any object with `toJSON(): RESTPostAPIChatInputApplicationCommandsJSONBody` - 💥 **feat:** `RegisterCommand` now supports `Omit<RESTPostAPIChatInputApplicationCommandsJSONBody, 'type'>` as valid returned value from function overload - 💥 **feat:** `RegisterSubCommand` now supports any object with `toJSON(): APIApplicationCommandSubcommandOption` - 💥 **feat:** `RegisterSubCommand` now supports `Omit<APIApplicationCommandSubcommandOption, 'type'>` as valid returned value from function overload - 💥 **feat:** `RegisterSubCommandGroup` now supports any object with `toJSON(): APIApplicationCommandSubcommandGroupOption` - 💥 **feat:** `RegisterSubCommandGroup` now supports `Omit<APIApplicationCommandSubcommandGroupOption, 'type'>` as valid returned value from function overload - 💥 **BREAKING CHANGE:** refactor: removed `makeContextMenuCommand`, it was a remnant from older utilities - 💥 **BREAKING CHANGE:** refactor: removed `ContextMenuOptions` type, use `Omit<RESTPostAPIContextMenuApplicationCommandsJSONBody, 'type'>` instead ## 🐛 Bug Fixes - Update to TypeScript v5 & use moduleResolution node16 (#239) ([92986c1](https://github.com/skyra-project/archid-components/commit/92986c15e0ebed07efdbaf21f28915e373a738bd)) - **deps:** Update all non-major dependencies ([df22552](https://github.com/skyra-project/archid-components/commit/df22552999e2aa863023388fc6014a3701f9f8d8)) - **deps:** Update all non-major dependencies (#207) ([4768f93](https://github.com/skyra-project/archid-components/commit/4768f93bbf7dab023c592f6bd8dbb6c278aa1d83)) ## 🚀 Features - Add twitch helpers package (#168) ([103160f](https://github.com/skyra-project/archid-components/commit/103160f94898a6842544441a49dd13bb8bacf48f)) # [@skyra/logger@1.0.1](https://github.com/skyra-project/archid-components/compare/@skyra/logger@1.0.0...@skyra/logger@1.0.1) - (2022-08-29) ## 🏠 Refactor - **hfx:** Switch to OOP patterns, remove `form-data` (#147) ([c465c9b](https://github.com/skyra-project/archid-components/commit/c465c9b2ecff704834a17f95a0109aac721fc2df)) # [@skyra/logger@1.0.0](https://github.com/skyra-project/archid-components/tree/@skyra/logger@1.0.0) - (2022-08-04) ## 🚀 Features - **Logger:** Add package (#132) ([84f26de](https://github.com/skyra-project/archid-components/commit/84f26de5b9835c7ea319038ff8687beee5354e0b)) # Changelog All notable changes to this project will be documented in this file.