No description
Find a file
2025-07-02 16:17:11 +02:00
.github/workflows bump minimum Node version to v20 2024-08-27 18:23:02 +02:00
src remove useless breaks 2023-08-26 15:24:53 +02:00
tests add another array test 2022-09-21 16:26:54 +02:00
.gitignore initial commit 2022-09-21 16:01:01 +02:00
eslint.config.mjs upgrade to ESlint v9 2024-08-27 18:26:53 +02:00
LICENSE initial commit 2022-09-21 16:01:01 +02:00
package.json Update dependency eslint to ^9.30.1 2025-07-02 05:33:02 +00:00
pnpm-lock.yaml Update dependency eslint to ^9.30.1 2025-07-02 05:33:02 +00:00
README.md add newline 2024-08-27 18:28:05 +02:00
tsconfig.json upgrade to ESlint v9 2024-08-27 18:26:53 +02:00

import logger from "@gizmo-dev/logger";

logger.info("This is an 'info' log");
logger.success("This is a 'success' log");
logger.warn("This is a 'warning' log");
logger.error("This is an 'error' log");

logger.error(new Error("This is an error object"));

logger.info("This is an array", [ 1, 2, 3 ]);

Example output:

Example output screenshot