using InternalLogger in Netty's wrapper
Piotr Findeisen
piotr.findeisen at gmail.com
Tue Jun 23 04:50:04 EDT 2009
Hi, Trustin
So should I copy part or the whole Netty's InternalLoggerFactory?
If I'm going to support logging framework that Netty supports, it would mean
to copy Netty's code. Well, I very much don't like to copy code -- this is
the reason of my question.
Why InternalLogger is marked as internal? What bad can happen if I use it?
Maybe it could stop being internal?
Or -- should I use an external factory that serves similar purpose? I
haven't used it, but maybe SLF4J does the job?
regards,
Piotr
> If you are going to provide a logging layer similar to what Netty
> provides, you could write your own InternalLoggerFactory implementation
> that redirects all logs to your logging layer. It should be trivial to
> implement, and the users will not need to touch InternalLoggerFactory at
> all.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090623/7e165b4e/attachment.html
More information about the netty-users
mailing list