1 4 package com.tc.logging; 5 6 9 public class CustomerLogging { 10 11 private static final String GENERIC_CUSTOMER_LOGGER = "general"; 13 14 private static final String DSO_CUSTOMER_GENERIC_LOGGER = "dso"; 15 private static final String DSO_INSTRUMENTATON_LOGGER = "dso.instrumentation"; 16 private static final String DSO_RUNTIME_LOGGER = "dso.runtime"; 17 18 private CustomerLogging() { 19 } 21 22 public static TCLogger getConsoleLogger() { 23 return TCLogging.getConsoleLogger(); 24 } 25 26 public static TCLogger getGenericCustomerLogger() { 27 return TCLogging.getCustomerLogger(GENERIC_CUSTOMER_LOGGER); 28 } 29 30 public static TCLogger getDSOInstrumentationLogger() { 31 return TCLogging.getCustomerLogger(DSO_INSTRUMENTATON_LOGGER); 32 } 33 34 public static TCLogger getDSOGenericLogger() { 35 return TCLogging.getCustomerLogger(DSO_CUSTOMER_GENERIC_LOGGER); 36 } 37 38 public static TCLogger getDSORuntimeLogger() { 39 return TCLogging.getCustomerLogger(DSO_RUNTIME_LOGGER); 40 } 41 } 42 | Popular Tags |