public static void banner(Logger logger,Class<?> clazz,String methodName,String text){
  String string=clazz.getSimpleName() + "." + methodName;
  if (text != null) {
    string+=" " + text;
  }
  logger.info("");
  logger.info("*************************************************************");
  logger.info("* " + string);
  logger.info("*************************************************************");
}

public static void banner ( Logger logger , Class < ? > clazz , String methodName , String text ) { String string = clazz . getSimpleName ( ) + "." + methodName ; if ( text != null ) { string += " " + text ; } logger . info ( "" ) ; logger . info ( "*************************************************************" ) ; logger . info ( "* " + string ) ; logger . info ( "*************************************************************" ) ; }
log a banner containing the class and method name and text
