[slf4j-dev] Benefits of Message objects?
ralph.goers @dslextreme.com
rgoers at apache.org
Sat Sep 10 17:25:47 CEST 2011
On Sat, Sep 10, 2011 at 6:53 AM, Ceki Gulcu <ceki at qos.ch> wrote:
>
> Access does not have use for Level nor Throwable. Audit has no use for
> Level. Logback-audit has quite a different API than
> logback-classic. For example, exceptions thrown during audit logging
> are rethrown to the user as AuditExceptions. It is not obvious that
> merging developer (classic) logging, access logging and audit logging
> into a single API makes sense.
>
>
It does to me. Simply allowing the Appenders to be configured to throw
exceptions would suffice for Audit Logging. Having to write the same
Appender logic for multiple frameworks shouldn't be necessary. With
Messages a separate API also isn't necessary.
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-dev/attachments/20110910/803026a9/attachment.html>
More information about the slf4j-dev
mailing list