[logback-user] CSS Configuration

Benoit Xhenseval bx at appendium.com
Thu Feb 10 00:23:49 CET 2011


Hi Ceki

Thanks for the prompt reply.

So you are suggesting to write a small Custome CSS Builder for both configurations?
They are probably quite trivial and we'll try; do you see such CSS Builder ever make it into the official release?

If so, should we raise a JIRA? and provide the sample code?

Thanks

Benoit

-----

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.

--
Ceki


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 emails.
> 
> 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 -->
>        <cssText>
> 
> ...the CSS Text itself....
> 
>     </cssText>
>    </cssBuilder>
> 
> 
> Is it something that exists or something that somebody would be willing
> to provide code or guidelines?
> 
> Many thanks
> 
> 
> Benoit
> Appendium Ltd
> 


------------------------------

-- 
IMPORTANT NOTICE This communication contains information that is considered confidential and may also be privileged . It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and delete the original.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110209/0d4e0759/attachment.html>


More information about the Logback-user mailing list