[slf4j-dev] svn commit: r1321 - slf4j/trunk/slf4j-site/src/site/pages

Ceki Gulcu ceki at qos.ch
Tue Apr 21 22:14:06 CEST 2009


Hello Thorbjørn,

Do you intend to pursue this effort on coloring? As this revision stands, I 
don't see the point... Put differently, it looks like a lot of effort for a 
meager result. WDYT?

ravn at slf4j.org wrote:
> Author: ravn
> Date: Sun Apr 19 02:23:53 2009
> New Revision: 1321
> 
> Modified:
>    slf4j/trunk/slf4j-site/src/site/pages/manual.html
> 
> Log:
> experimental colorized version of HelloWorld.java
> 
> 
> Modified: slf4j/trunk/slf4j-site/src/site/pages/manual.html
> ==============================================================================
> --- slf4j/trunk/slf4j-site/src/site/pages/manual.html	(original)
> +++ slf4j/trunk/slf4j-site/src/site/pages/manual.html	Sun Apr 19 02:23:53 2009
> @@ -36,7 +36,7 @@
>      the source code.
>      </p>
>  
> -      <pre class="source">import org.slf4j.Logger;
> +<!--      <pre class="source">import org.slf4j.Logger;
>  import org.slf4j.LoggerFactory;
>  
>  public class HelloWorld {
> @@ -45,6 +45,16 @@
>      logger.info("Hello World");
>    }
>  }</pre>
> +-->
> +<pre class="source"><font color="#1773cc">import</font>&nbsp;org.slf4j.Logger;
> +<font color="#1773cc">import</font>&nbsp;org.slf4j.LoggerFactory;
> +
> +<font color="#008b00"><b>public</b></font>&nbsp;<font color="#008b00"><b>class</b></font>&nbsp;HelloWorld {
> +&nbsp;&nbsp;&nbsp;&nbsp;<font color="#008b00"><b>public</b></font>&nbsp;<font color="#008b00"><b>static</b></font>&nbsp;<font color="#008b00"><b>void</b></font>&nbsp;main(String[]&nbsp;args)&nbsp;{
> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logger logger = LoggerFactory.getLogger(HelloWorld.<font color="#008b00"><b>class</b></font>);
> +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logger.info(<font color="#4a6f8b">&quot;Hello World&quot;</font>);
> +&nbsp;&nbsp;&nbsp;&nbsp;}
> +}</font></pre>
>  
>       <p>To run this example, you first need to <a
>       href="download.html">download the slf4j distribution</a>, and
> _______________________________________________
> dev mailing list
> dev at slf4j.org
> http://www.slf4j.org/mailman/listinfo/dev
> 

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch



More information about the slf4j-dev mailing list