hugo/common/hugo
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
..
hugo.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
hugo_test.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
vars_extended.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
vars_regular.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
version.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
version_current.go releaser: Prepare repository for 0.120.0-DEV 2023-09-24 15:32:33 +00:00
version_test.go common/hugo: Fix version logic 2022-05-16 13:01:52 +02:00