nocobase/packages/core/utils/src/log.ts

4 lines
106 B
TypeScript

export const error = (message: Error | string, ...args: any[]) => {
console.error(message, ...args);
};