示例#1
0
 @Override
 public synchronized void publish(LogRecord record) {
   if (!isLoggable(record)) {
     return;
   }
   checkRotate();
   super.publish(record);
   super.flush();
 }
示例#2
0
 @Override
 public synchronized void flush() {
   checkRotate();
   super.flush();
 }