1 23 package com.sun.common.util.logging; 24 25 import java.util.logging.Logger ; 26 27 30 public class LogDomains 31 { 32 33 37 public static final String DOMAIN_ROOT = "javax."; 38 39 42 public static final String RESOURCE_BUNDLE = "LogStrings"; 43 44 47 public static final String PACKAGE = "com.sun.common.util.logging."; 48 51 public static final String CMN_LOGGER = DOMAIN_ROOT + "enterprise.system.util.common"; 52 53 61 public static Logger getLogger(String name) { 62 return Logger.getLogger(name, PACKAGE + RESOURCE_BUNDLE); 63 } 64 } 65 | Popular Tags |