moving to appropriate directory
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// File: vercel/lib/utils.js
|
||||
import pino from 'pino';
|
||||
|
||||
export const logger = pino({
|
||||
level: process.env.LOG_LEVEL || 'info',
|
||||
browser: {
|
||||
write: {
|
||||
info: (...args) => console.log(...args),
|
||||
error: (...args) => console.error(...args),
|
||||
debug: (...args) => console.debug(...args),
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user