| java.lang.Object com.tc.logging.TCLogging
TCLogging | public class TCLogging (Code) | | Factory class for obtaining TCLogger instances.
author: teck |
PROCESS_TYPE_GENERIC | final public static int PROCESS_TYPE_GENERIC(Code) | | |
PROCESS_TYPE_L1 | final public static int PROCESS_TYPE_L1(Code) | | |
PROCESS_TYPE_L2 | final public static int PROCESS_TYPE_L2(Code) | | |
closeFileAppender | public static void closeFileAppender()(Code) | | |
disableLocking | public static synchronized void disableLocking()(Code) | | FOR TESTS ONLY. This allows tests to successfully blow away directories containing log files on
Windows. This is a bit of a hack, but working around it is otherwise an enormous pain — tests only fail on
Windows, and you must then very carefully go around, figure out exactly why, and then work around it. Use of this
method makes everything a great deal simpler.
|
getTestingLogger | public static TCLogger getTestingLogger(String name)(Code) | | This method lets you get a logger w/o any name restrictoins. FOR TESTS ONLY (ie. not for shipping code)
|
getTestingLogger | public static TCLogger getTestingLogger(Class clazz)(Code) | | This method lets you get a logger w/o any name restrictoins. FOR TESTS ONLY (ie. not for shipping code)
|
setLogDirectory | public static void setLogDirectory(File theDirectory, int processType)(Code) | | |
|
|