mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Restore explicit .ts relative specifiers in source and enable rewriteRelativeImportExtensions so emitted JS uses .js while declarations keep explicit .ts specifiers. Add a NodeNext declaration-consumer gate to prevent extensionless declaration regressions.
@cordisjs/plugin-logger-console
Console exporter for the built-in Cordis logger service.
Usage
import { Context } from 'cordis'
import ConsoleLogger from '@cordisjs/plugin-logger-console'
const root = new Context()
await root.plugin(ConsoleLogger, {
showDiff: true,
levels: {
default: 2,
hmr: 3,
},
})
root.logger('app').info('started')
Config
| Field | Description |
|---|---|
colors |
Color support level, or false to disable colors. |
maxLength |
Maximum rendered line length before truncation. |
levels |
Per-logger minimum level map. |
showDiff |
Show elapsed time since the previous message. |
showTime |
Timestamp template. |
label |
Label width, margin, and alignment options. |
The Node entry uses node:util.inspect for %o and %O; the browser entry
passes log arguments through to console.