New
1.2.18
logstage-core
- Logstage: logValues support by @nikita-ty754 (https://github.com/7mind/izumi/pull/2272)
- This adds new method
logValuesthat can be used as a shorthand for logging values without an accompanying message:
Will output the same message aslogger.logValues(Info)(a, b, c)logger.info(s"$a, $b, $c")
- This adds new method
- LogStage: logMethod support by @nikita-ty754 (https://github.com/7mind/izumi/pull/2266)
- This adds new methods
logMethodandlogMethodFthat will log the arguments and result of a method, or its error if method throws / fails effectfully:
Will output:logger.logMethodF(Info)(f(a, b, c))
If method succeeds, or if method fails:Call to f(a=1, b=2, c=3) => result=6Call to f(a=1, b=2, c=3) => error=IllegalArgumentException: ...logMethodcan also optionally log type parameters and/or implicit parameters of the method:logger.logMethodF(Info, printTypes = true, printImplicits = true)(f(a, b, c))
- This adds new methods