Skip to content

createAgentLogger

View as Markdown
function createAgentLogger(level?, logFile?): AgentLogger;

Defined in: agent/src/agent.ts:23

The agent’s JSON logger: stderr, or appended to logFile (uncage agent --log-file; Windows scheduled tasks have no stdout redirect, so the agent writes its own log there).

Parameter Type
level? string
logFile? string

AgentLogger