[logback-user] Evaluator and Layout Pattern

ekkehard ekkehard at gentz-software.de
Tue Oct 14 18:23:28 CEST 2008


Ceki Gulcu schrieb:
> 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?
>
>   
if there's no marker, then I dont want to print
-[]-

but if theres a marker I want to print

-[%marker{HAS_MARKER}]-

ekke


> 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
>>     
>
>   


-- 

ekkehard gentz
software-architect
erp-consultant
max-josefs-platz 30, D-83022 rosenheim, germany
homeoffice (1+1 VoIP): +49 8031 2068 325
mobile (iPhone): +49 151 19424929
mailto:ekkehard at gentz-software.de
homepage: http://www.gentz-software.de
opensource: http://ekkehard.org
blog (en): http://ekkes-corner.org
blog (de): http://ekkes-ecke.org
skype: ekke.gentz
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081014/6dc3c6fa/attachment.htm 


More information about the Logback-user mailing list