/Knowledge/sources/honojs__hono/llms-full/logger-middleware-logging-details--part-02--e06c53842f6b.md
Logger Middleware: Logging Details (part 02) - hono-docs
Logger Middleware: Logging Details (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt logging d...
Logger Middleware: Logging Details (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#logging-details
Summary
You can also extend the middleware further by providing your own PrintFunc function for tailored logging behavior. ::: tip To disable status code coloring, you can set a NO_COLOR environment variable. This is a common way to disabl...
Content
You can also extend the middleware further by providing your own PrintFunc function for tailored logging behavior.
::: tip
To disable status code coloring, you can set a NO_COLOR environment variable. This is a common way to disable ANSI color escape codes in logging libraries, and is described at https://no-color.org/. Note that Cloudflare Workers do not have a process.env object, so will default to plaintext log output.
:::
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#logging-details",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Logger Middleware > Logging Details (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 149,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Logger Middleware: Logging Details (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}