1 23 24 25 package com.sun.jdo.spi.persistence.utility.logging; 26 27 import java.util.ResourceBundle ; 28 import java.security.SecurityPermission ; 29 30 43 44 public interface Logger { 45 46 49 50 53 public static final int OFF = Integer.MAX_VALUE; 54 55 63 public static final int SEVERE = 1000; 64 65 72 public static final int WARNING = 900; 73 74 82 public static final int INFO = 800; 83 84 93 public static final int CONFIG = 700; 94 95 113 public static final int FINE = 500; 114 115 120 public static final int FINER = 400; 121 122 125 public static final int FINEST = 300; 126 127 130 public static final int ALL = Integer.MIN_VALUE; 131 132 139 public boolean isLoggable(); 140 141 148 public boolean isLoggable(int level); 149 150 151 155 165 public void entering(String sourceClass, String sourceMethod); 166 167 179 public void entering(String sourceClass, String sourceMethod, Object param1); 180 181 194 public void entering(String sourceClass, String sourceMethod, Object params[]); 195 196 206 public void exiting(String sourceClass, String sourceMethod); 207 208 209 221 public void exiting(String sourceClass, String sourceMethod, Object result); 222 223 244 public void throwing(String sourceClass, String sourceMethod, Throwable thrown); 245 246 255 public void severe(String msg); 256 257 266 public void warning(String msg); 267 268 277 public void info(String msg); 278 279 288 public void config(String msg); 289 290 300 public void log(int level, String msg); 301 302 313 public void log(int level, String msg, Object o1); 314 315 326 public void log(int level, String msg, Object [] o); 327 328 340 public void log(int level, String msg, Object o1, Object o2); 341 342 355 public void log(int level, String msg, Object o1, Object o2, Object o3); 356 357 369 public void log(int level, String msg, Throwable thrown ); 370 371 380 public void fine(String msg); 381 382 392 public void fine(String msg, Object o1); 393 394 404 public void fine(String msg, Object [] o); 405 406 417 public void fine(String msg, Object o1, Object o2); 418 419 431 public void fine(String msg, Object o1, Object o2, Object o3); 432 433 442 public void finer(String msg); 443 444 454 public void finer(String msg, Object [] o); 455 456 466 public void finer(String msg, Object o1); 467 468 479 public void finer(String msg, Object o1, Object o2); 480 481 493 public void finer(String msg, Object o1, Object o2, Object o3); 494 495 504 public void finest(String msg); 505 506 516 public void finest(String msg, Object [] o); 517 518 528 public void finest(String msg, Object o1); 529 530 541 public void finest(String msg, Object o1, Object o2); 542 543 555 public void finest(String msg, Object o1, Object o2, Object o3); 556 557 561 565 public String getName(); 566 567 } 568 | Popular Tags |