Assertion on logoutput either debug/info does not work. (original) (raw)

Describe the bug
The following does not correctly get the log output nor does give you back the output in any way.

assertThat(result).log().debug()
assertThat(result).log().info()

assertThat(result).log().debug().hasSize(1) does not work.

Currently we have no support for [WARNINGS] like:

assertThat(result).log().warn()....

Expected behavior
It should be possible to write lines like this:

Everything .warn(),info() or debug() should result in ListAssert<> off AssertJ to make it flexible.