1 23 24 package com.sun.jdo.spi.persistence.support.sqlstore; 25 26 import com.sun.jdo.spi.persistence.utility.logging.Logger; 27 import com.sun.jdo.spi.persistence.utility.logging.LogHelper; 28 29 34 public class LogHelperSQLStore { 35 36 38 protected static final String componentName = "sqlstore"; 40 42 protected static final String sqlComponentName = componentName + ".sql"; 44 46 protected static final ClassLoader loader = LogHelperSQLStore.class.getClassLoader(); 47 48 50 protected static final String bundleName = "com.sun.jdo.spi.persistence.support.sqlstore.Bundle"; 52 54 public static Logger getLogger() { 55 return LogHelper.getLogger (componentName, bundleName, loader); 56 } 57 58 public static Logger getSqlLogger() { 59 return LogHelper.getLogger (sqlComponentName, bundleName, loader); 60 } 61 62 } 63 | Popular Tags |