Package ch.qos.logback.classic.pattern
Class ClassNameOnlyAbbreviator
- java.lang.Object
-
- ch.qos.logback.classic.pattern.ClassNameOnlyAbbreviator
-
- All Implemented Interfaces:
Abbreviator
public class ClassNameOnlyAbbreviator extends Object implements Abbreviator
This abbreviator returns the class name from a fully qualified class name, removing the leading package name.
-
-
Constructor Summary
Constructors Constructor Description ClassNameOnlyAbbreviator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
abbreviate(String fqClassName)
-
-
-
Method Detail
-
abbreviate
public String abbreviate(String fqClassName)
- Specified by:
abbreviate
in interfaceAbbreviator
-
-