Skip to content

Commit

Permalink
Minor textual changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
U-THUR\Thorsten authored and U-THUR\Thorsten committed Aug 25, 2010
1 parent 257b0d5 commit fbc4359
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions slf4j-android/src/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h3>Usage</h3>

<h3>Log level mapping</h3>
<p>The following table shows the mapping from SLF4J log levels to log levels in
the Android platform implemented by the logger binding.</p>
the Android platform, implemented by the logger binding.</p>
<table class="bodyTable" cellspacing="4" cellpadding="4" width="300">
<tr><th align="left"><b>SLF4J<b></th><th align="left"><b>Android</b></th></tr>
<tr class="a"><td>TRACE</td><td>VERBOSE</td></tr>
Expand All @@ -74,15 +74,17 @@ <h3>Log level mapping</h3>
</table>

<h3>Logger name mapping</h3>
<p>Recap, <tt>Logger</tt> instances created using the <tt>LoggerFactory</tt> are
named either according to the name given as parameter, or the fully qualified class
name of the class given as paramenter. Each logger name will be used as the log
message tag on the Android platform. However, the length of such tags is currently
limited to 23 characters (23 = 32 - 8 for namespace prefix - 1 for C terminator).
Starting from version 1.6.1, if the fully qualified class name (or the name given
as parameter at creation time) exceeds this limit then it will be truncated by the
<tt>LoggerFactory</tt> and the new Logger will have the truncated name.
The following examples illustrate this.</p>
<p>Recap, <a href="http://www.slf4j.org/apidocs/org/slf4j/Logger.html">Logger</a>
instances created using the
<a href="http://www.slf4j.org/apidocs/org/slf4j/LoggerFactory.html">LoggerFactory</a>
are named either according to the name given as parameter, or the fully qualified
class name of the class given as paramenter. Each logger name will be used as the
log message tag on the Android platform. However, the length of such tags is
currently limited to 23 characters (23 = 32 - 8 for namespace prefix - 1 for C
terminator). Starting from version 1.6.1, if the fully qualified class name (or
the name given as parameter at creation time) exceeds this limit then it will be
truncated by the LoggerFactory and the new Logger will have the truncated
name. The following examples illustrate this.</p>
<table class="bodyTable" cellspacing="4" cellpadding="4" width="300">
<tr><th align="left"><b>Original Name<b></th><th align="left"><b>Truncated Name</b></th></tr>
<tr class="a"><td>org.example.project.MyClass</td><td>o*.e*.p*.MyClass</td></tr>
Expand Down

0 comments on commit fbc4359

Please sign in to comment.