protected Logger(String className){
  this.className=className;
  int index=className.lastIndexOf('.');
  if (index != -1) {
    this.simpleClassName=className.substring(index + 1);
  }
}

protected Logger ( String className ) { this . className = className ; int index = className . lastIndexOf ( '.' ) ; if ( index != - 1 ) { this . simpleClassName = className . substring ( index + 1 ) ; } }
this construct is initialised with the class name .
