diff options
author | Maarten Mulders <m.th.mulders@xs4all.nl> | 2014-02-08 21:03:17 +0100 |
---|---|---|
committer | Maarten Mulders <m.th.mulders@xs4all.nl> | 2014-02-08 21:08:39 +0100 |
commit | 52bb71582bcff166469b8a8be0960a24bc3f02b7 (patch) | |
tree | 89d795fd96cf07ad24ec33c23b8ffc4c153cd806 /website/features/Log.html | |
parent | c0e00edb7bf369470c55d59307bbf80cc3abb9d9 (diff) | |
download | lombok-52bb71582bcff166469b8a8be0960a24bc3f02b7.tar.gz lombok-52bb71582bcff166469b8a8be0960a24bc3f02b7.tar.bz2 lombok-52bb71582bcff166469b8a8be0960a24bc3f02b7.zip |
Explained how to customise the category of the generated Log(ger)
Diffstat (limited to 'website/features/Log.html')
-rw-r--r-- | website/features/Log.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/website/features/Log.html b/website/features/Log.html index f92af1e3..e6b3ece6 100644 --- a/website/features/Log.html +++ b/website/features/Log.html @@ -33,6 +33,8 @@ <dt><code>@XSlf4j</code></dt> <dd>Creates <code><span class="keyword">private static final </span><a href="http://www.slf4j.org/api/org/slf4j/ext/XLogger.html">org.slf4j.ext.XLogger</a> <span class="staticfield">log</span> = <a href="http://www.slf4j.org/apidocs/org/slf4j/ext/XLoggerFactory.html#getXLogger(java.lang.Class)">org.slf4j.ext.XLoggerFactory.getXLogger</a>(LogExample.<span class="keyword">class</span>);</code></dd> </dl> + </p><p> + By default, the category (or name) of the logger will be the type where the annotation was placed. This can be customised by specifying a value for the category. </p> </div> <div class="snippets"> |