예제 #1
0
 /**
  * A logger with a name appended with a "." to the application's logger name. This allows
  * inheritance of configuration.
  *
  * @param name The sub-logger name
  * @return The logger
  * @see #getLogger()
  */
 public Logger getSubLogger(String name) {
   return LoggingUtil.getSubLogger(getLogger(), name);
 }
예제 #2
0
 /**
  * The application's logger.
  *
  * @return The logger
  * @see #getSubLogger(String)
  */
 public Logger getLogger() {
   if (logger == null) logger = LoggingUtil.getLogger(application);
   return logger;
 }