hugo/tpl/lang
Bjørn Erik Pedersen 71fd79a3f4 Revise the deprecation logging
This introduces a more automatic way of increasing the log levels for deprecation log statements based on the version it was deprecated.

The thresholds are a little arbitrary, but

* We log INFO for 6 releases
* We log WARN for another 6 releases
* THen ERROR (failing the build)

This should give theme authors plenty of time to catch up without having the log filled with warnings.
2023-10-26 20:41:19 +02:00
..
init.go tpl/lang: document delimiter option for FormatNumberCustom 2023-05-17 23:35:43 +02:00
lang.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
lang_test.go deps: Update github.com/gohugoio/localescompressed v0.14.0 => v0.15.0 2022-02-19 11:34:00 +01:00