Hello!<br><br>I&#39;m writing a not-so-thin wrapper around Netty that provides mutlti-point communication using custom protocol.<br>I would like to achieve code at least a little as configurable as Netty&#39;s code is. For example, I&#39;d like to use logging framework of my users&#39;s choice. From skimming Netty&#39;s code it should be enough to put<br>

<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">private static final InternalLogger logger = InternalLoggerFactory.getInstance(MyClass.class);</span><br></div>in my classes.<br><br>Thus the I would achieve the goal with no effort, while my users would have to configure use of their framework of choice only once (once for Netty -- and for my code too). Cool -- but the InternalLogger is commented &quot;<b>DO NOT</b> access this class outside of Netty.&quot;<br>

Why is that? How can I achieve configurable logging framework, preferably not duplicating the code?<br><br>thanks for help!<br>Piotr<br>