[logback-user] Evaluator and Layout Pattern
Ceki Gulcu
listid at qos.ch
Tue Oct 14 18:20:24 CEST 2008
Hello Ekke,
MarkerConverter which handles the %marker conversion word, does not take an
evaluator as an option. May I ask what is it that you are trying to accomplish?
ekkehard wrote:
> If I'm using an evaluator "HAS_MARKER"
> which evaluates the Expression
> marker != null
>
> and then in my layout - I'm using this Pattern
>
> -[%marker{HAS_MARKER}]-
>
> it prints
> -[]-
>
> is there a way to use this Evaluator that nothing is printed ?
>
> thx
>
> ekke
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the Logback-user
mailing list