Make deprecated warning for this release more alert

This commit is contained in:
bep 2015-05-26 23:08:32 +02:00
parent be381683ff
commit beaa008c2f

View file

@ -191,7 +191,9 @@ var deprecatedLogger = NewDistinctErrorLogger()
// Deprecated logs ERROR logs about a deprecation, but only once for a given set of arguments' values.
func Deprecated(object, item, alternative string) {
deprecatedLogger.Printf("%s's %s is deprecated and will be removed in Hugo %s. Use %s instead.", object, item, NextHugoReleaseVersion(), alternative)
// deprecatedLogger.Printf("%s's %s is deprecated and will be removed in Hugo %s. Use %s instead.", object, item, NextHugoReleaseVersion(), alternative)
deprecatedLogger.Printf("%s's %s is deprecated and will be removed VERY SOON. Use %s instead.", object, item, alternative)
}
// SliceToLower goes through the source slice and lowers all values.