Re: java.util.logging

"Mark S. Miller" <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
I like it. Thanks.

On Wed, Nov 24, 2010 at 6:14 AM, Thomas Leonard <
tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]> wrote:

> How do people feel about replacing E's custom logging system with
> java.util.logging (part of the Java standard library since Java 1.4)?
>
> I tried just replacing the call in Traceln.java (patch attached), and it
> changes the default output from e.g.
>
> === 2010-11-24T13:54:36.581Z (Traceln.traceit:Traceln.java:90) WRN
> __main:
> > hi
>  : (traceln)
>  @ Traceln#run(String)
>  @ run/1: </tmp/t.e#:span::1:7::1:7>
>
> to
>
> 24-Nov-2010 14:13:31 org.erights.e.elib.debug.Traceln traceit
> WARNING: hi
> (__main)
>  @ Traceln#run(String)
>  @ run/1: </tmp/t.e#:span::1:7::1:7>
>
> Any desired wrapping and escaping of the text can be done by adding a
> custom Formatter. With the default Java formatter, no wrapping or
> escaping is done (which is good for us, but a change from E's current
> output).
>
>
> --
> Dr Thomas Leonard
> IT Innovation Centre
> 2 Venture Road
> Southampton
> Hampshire SO16 7NP
>
> Tel: +44 0 23 8076 0834
> Fax: +44 0 23 8076 0833
> mailto:tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]
> http://www.it-innovation.soton.ac.uk
>
> _______________________________________________
> e-lang mailing list
> [email protected]
> http://www.eros-os.org/mailman/listinfo/e-lang
>
>


-- 
    Cheers,
    --MarkM

_______________________________________________
e-lang mailing list
[email protected]
http://www.eros-os.org/mailman/listinfo/e-lang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.