Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score100%
Downloads7/wk
Published2 days ago (0.9.1)

LogTape logging integration for Optique CLI parser

I
ConsoleSinkOptions

Options for configuring console sink creation.

f
createConsoleSink

Creates a console sink with configurable stream selection.

f
createLoggingConfig

Creates a LogTape configuration from parsed logging options.

f
createSink

Creates a sink from a LogOutput destination.

f
debug

Creates a parser for a debug flag (-d, --debug).

I
DebugOptions

Options for creating a debug flag parser.

v
LOG_LEVELS

All valid log levels in order from lowest to highest severity.

f
loggingOptions

Creates a logging options parser preset.

T
LoggingOptionsConfig

Configuration for logging options preset.

I
LoggingOptionsResult

Result type for the logging options parser.

I
LoggingOptionsWithDebug

Configuration for logging options preset using --debug flag.

I
LoggingOptionsWithLevel

Configuration for logging options preset using --log-level option.

I
LoggingOptionsWithVerbosity

Configuration for logging options preset using -v/-vv/-vvv flags.

f
logLevel

Creates a ValueParser for LogTape log levels.

I
LogLevelOptions

Options for creating a log level value parser.

T
LogOutput

Represents a log output destination.

f
logOutput

Creates a parser for log output destination (--log-output).

I
LogOutputConfig

Configuration for log output option in presets.

I
LogOutputOptions

Options for creating a log output parser.

f
verbosity

Creates a parser for verbosity flags (-v, -vv, -vvv, etc.).

I
VerbosityOptions

Options for creating a verbosity parser.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.