Overall it's looking pretty good, but why do we need both Logging and
Loggable ?

Br's,
Marius

On 14 feb., 15:40, Jeppe Nejsum Madsen <[email protected]> wrote:
> Hi,
>
> I've added first shot at the new logging code:
>
> http://github.com/dpp/liftweb/blob/e7ed6c6bc013aea768bfe34a6e4eca22d2...
>
> I've tried to keep it as simple as possible, really just a Scala layer
> on top of the SLF4J api.
>
> Note that no backend (log4j or logback) configuration is included. This
> has to go into lift-util to use runmode etc.
>
> You can have your choice of a nested logger:
>
>  object MyObj extends Logging {
>    logger.info("nested Hello")
>  }
>
> or direct access:
>
>  object MyObj extends Loggable {
>    info("direct Hello")
>  }
>
> Thoughts?
>
> Next step, when this has been committed, is to update Lift internals to
> use the new code (as part of #310) and deprecate the old logging in util.
>
> /Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to