[logback-dev] [JIRA] Commented: (LBCORE-197) CSS Builder that can accept the css text directly

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Thu Feb 10 17:22:51 CET 2011


    [ http://jira.qos.ch/browse/LBCORE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11960#action_11960 ] 

Ceki Gulcu commented on LBCORE-197:
-----------------------------------

Although I have not tested it, I think this maybe as simple as:

package some.pkg;

import ch.qos.logback.core.html.CssBuilder;

public class MyCssBuilder implements CssBuilder {

  String cssText;
  public void getCssTest() { return cssText; }
  public void setCssTest(String cssText) { this.cssText = cssText; }

  public void addCss(StringBuilder sbuf) {
     sbuf.append(cssText);
  }
}

HTH


> CSS Builder that can accept the css text directly
> -------------------------------------------------
>
>                 Key: LBCORE-197
>                 URL: http://jira.qos.ch/browse/LBCORE-197
>             Project: logback-core
>          Issue Type: New Feature
>            Reporter: Benoit Xhenseval
>            Assignee: Logback dev list
>
> I suggest creating a CSSBuilder class that can accept the CSS text directly in the XML configuration file.
> We will submit a simple implementation.
> Thanks for LogBack!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list