Every package under packages/, apps/, and vendor/ drops "private": true and declares publishConfig.access "restricted": the repository now states which packages it publishes instead of deciding it at publish time. Each one also declares its repository and directory, which is how a consumer of a private package reaches its source. The Landlock packages move to restricted with them. They have never been published, so nothing anonymous depends on them today, and the whole @deepseek-ai scope stays private. The workspace constraint that required every package to be private now applies to non-members only, and asserts the publishable trio on each release member.
@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.