hugo/source
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
..
content_directory_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
fileInfo.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
fileInfo_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
filesystem.go Correct typos in Go comments 2023-03-02 16:32:32 +01:00
filesystem_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
sourceSpec.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00