hugo/common
Bjørn Erik Pedersen 1ad117cbe2 common/herrors: Make the file error log format configurable
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
2018-10-27 19:14:16 +02:00
..
collections common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00
herrors common/herrors: Make the file error log format configurable 2018-10-27 19:14:16 +02:00
hugio Fix Resource output in multihost setups 2018-08-13 19:00:51 +02:00
loggers common/loggers: Remove the ANSI color for the browser error version 2018-10-24 17:22:07 +02:00
maps common/collections: Allow a mix of slice types in append/Scratch.Add 2018-10-27 15:05:40 +02:00
math Add a newScratch template func 2018-07-06 17:51:38 +02:00
terminal Add some color to the relevant filenames in terminal log 2018-10-24 13:02:18 +02:00
types Prevent stale content in Fast Render Mode 2018-10-17 10:15:22 +02:00