[logback-user] CSS Configuration
ceki at qos.ch
Thu Feb 10 07:46:42 CET 2011
On 10.02.2011 00:23, Benoit Xhenseval wrote:
> Hi Ceki
> Thanks for the prompt reply.
> So you are suggesting to write a small Custome CSS Builder for both
> They are probably quite trivial and we'll try; do you see such CSS
> Builder ever make it into the official release?
Sure, why not?
> If so, should we raise a JIRA? and provide the sample code?
Creating a Jira entry is a good idea. As for sample code, I think the
existing CSS builders are good starting points.
> Hi Benoit,
> Including the CSS in a jar file and then including it via a custom
> CssBuilder should not be a problem. Try to write one and see how it goes.
> As for ExplicitCssBuilder, I think all you need is to define a String
> property called "cssTest", the rest should be automatically taken
> care of by logback/joran.
> Holler if you run into trouble.
> On 09/02/2011 11:39 PM, Benoit Xhenseval wrote:
>> Hi *
>> Our flagship product has been using SLF4J for years but we're switching
>> to LogBack and so far...loving it!
>> We have a question about the CSS builder we could be using for HTML
>> We noticed the DefaultCssBuilder and the UrlCssBuilder, however is there
>> a way to either include the CSS in a jar file, or to specify the CSS in
>> the XML file directly?
>> Something like:
>> <cssBuilder class="ch.qos.logback.classic.html.*_ExplicitCssBuilder_*">
>> <!-- url where the css file is located -->
>> ...the CSS Text itself....
>> Is it something that exists or something that somebody would be willing
>> to provide code or guidelines?
>> Many thanks
>> Appendium Ltd
More information about the Logback-user