mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-17 21:37:06 -04:00
* test(e2e): fail in unexpected console.error * fix(datetime): graceful fallback during SSR when navigator is undefined
8 lines
240 B
TypeScript
8 lines
240 B
TypeScript
const PREFIX = "[APP]";
|
|
|
|
export const logger = {
|
|
error: (...args: unknown[]) => console.error(PREFIX, ...args),
|
|
warn: (...args: unknown[]) => console.warn(PREFIX, ...args),
|
|
info: (...args: unknown[]) => console.info(PREFIX, ...args),
|
|
};
|