mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-03 00:23:27 +00:00
1ad117cbe2
Will check for an OS environment variable named `HUGO_FILE_LOG_FORMAT`. The tokens available are `:file` (absolute filename), `:line` (line number) and `:col` (column number). The default format is: \":file::line::col\"` How to set OS environment variables is OS specific, but an example on Unix setting an alternative format when running Hugo: ```bash env HUGO_FILE_LOG_FORMAT="\":file::line\"" hugo ``` The above will include filename and line number quoted. Fixes #5352 |
||
---|---|---|
.. | ||
collections | ||
herrors | ||
hugio | ||
loggers | ||
maps | ||
math | ||
terminal | ||
types |