hugo-wasm/commands
Bjørn Erik Pedersen 9dfa112617
Write all logging (INFO, WARN, ERROR) to stderr
The old setup tried to log >= warning to stderr, the rest to stdout.

However, that logic was flawed, so warnings ended up in stdout, which makes `hugo list all` etc. hard to reason about from scripts.

This commit fixes this by making all logging (info, warn, error) log to stderr and let stdout be reserved for program output.

Fixes #13074
2024-12-13 09:23:09 +01:00
..
commandeer.go Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
commands.go commands: Add "hugo build" as an alias for "hugo" 2024-09-30 10:36:29 +02:00
config.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
convert.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
deploy.go commands: Print the "deploy not available" error message even if flags provided 2024-11-05 11:40:42 +01:00
deploy_flags.go commands: Print the "deploy not available" error message even if flags provided 2024-11-05 11:40:42 +01:00
deploy_off.go commands: Print the "deploy not available" error message even if flags provided 2024-11-05 11:40:42 +01:00
env.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
gen.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
helpers.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugo_windows.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugobuilder.go Add js.Batch 2024-12-12 21:43:17 +01:00
import.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
list.go Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
mod.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
new.go commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
release.go completion: Improve existing argument completions, add many more 2024-04-11 15:34:26 +02:00
server.go Add js.Batch 2024-12-12 21:43:17 +01:00