[slf4j-dev] [Bug 173] slf4j android: Android throws an IllegalArgumentException when Log Tag length exceeds 23 characters
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Wed Aug 25 14:52:05 CEST 2010
http://bugzilla.slf4j.org/show_bug.cgi?id=173
--- Comment #12 from Thorsten <thorsten.Moeller at unibas.ch> 2010-08-25 14:52:05 ---
The following behavior is now implemented (and tested) to shorten tag names
exceeding the maximum length. The solution is inspired by Eclipse IDE which has
a similar functionality. Each string on the left will be shortened to the
string on the right:
org.example.project.MyClass
o*.e*.p*.MyClass
org.example.project.subproject.MyClass
o*.e*.p*.s*.MyClass
org.example.MyQuiteLongNamedClassOfTooMuchCharacters
o*.e*.MyQuiteLongNamed*
o.e.project.subproject.MyClass
o.e.p*.s*.MyClass
MyQuiteLongNamedClassNotInAPackage
MyQuiteLongNamedClassN*
..................................
......................*
alskfdjhalskdfhalsdfkhalsdkfjhasld
alskfdjhalskdfhalsdfkh*
.alskjdfksdfj.asldkjfhksdfh.asdfm.
a*.a*.asdfm
.alskjdfksdfj.asldkjfhksdfh.asdfmasfdasdfasdfasdfasdfadf.
a*.a*.asdfmasfdasdfasd*
.MyQuiteLongNamedClassNotInAPackage
MyQuiteLongNamedClassN*
This behavior is going to become the final solution, which will be released
soon, combined with the upgrade to version 1.6.1.
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list