v7.0.0 release
This commit is contained in:
1 parent
0e7fa04b03
commit
c4ea9a6cd1
3582 files changed
+626189
-160151
No files matched your search
@@ -4,18 +4,22 @@
|
||||
import pino from 'pino';
|
||||
|
||||
const level = process.env.LOG_LEVEL || 'info';
|
||||
const isMcpStdio = process.env.MCP_STDIO === '1';
|
||||
|
||||
export const logger = pino({
|
||||
level,
|
||||
transport: {
|
||||
target: 'pino-pretty',
|
||||
options: {
|
||||
colorize: true,
|
||||
translateTime: 'SYS:standard',
|
||||
ignore: 'pid,hostname',
|
||||
export const logger = isMcpStdio
|
||||
? pino({ level }, pino.destination(2))
|
||||
: pino({
|
||||
level,
|
||||
transport: {
|
||||
target: 'pino-pretty',
|
||||
options: {
|
||||
colorize: true,
|
||||
translateTime: 'SYS:standard',
|
||||
ignore: 'pid,hostname',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
);
|
||||
|
||||
// 에이전트별 로거 생성
|
||||
export function createAgentLogger(agentName: string) {
|
||||
|
||||
Reference in new issue
Block a user