Home
last modified time | relevance | path

Searched refs:LogManager (Results 1 – 20 of 20) sorted by relevance

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DConsoleHandlerTest.java31 import java.util.logging.LogManager;
62 LogManager.getLogManager().reset(); in setUp()
70 LogManager.getLogManager().reset(); in tearDown()
79 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoProperties()
81 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoProperties()
83 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoProperties()
85 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoProperties()
106 LogManager.getLogManager().readConfiguration( in testConstructor_ValidProperties()
109 assertEquals(LogManager.getLogManager().getProperty( in testConstructor_ValidProperties()
111 assertEquals(LogManager.getLogManager().getProperty( in testConstructor_ValidProperties()
[all …]
DStreamHandlerTest.java36 import java.util.logging.LogManager;
82 LogManager.getLogManager().reset(); in tearDown()
93 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoParameter_NoProperties()
95 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoParameter_NoProperties()
97 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoParameter_NoProperties()
99 assertNull(LogManager.getLogManager().getProperty( in testConstructor_NoParameter_NoProperties()
121 LogManager.getLogManager().readConfiguration( in testConstructor_NoParameter_ValidProperties()
124 assertEquals("FINE", LogManager.getLogManager().getProperty( in testConstructor_NoParameter_ValidProperties()
126 assertEquals("iso-8859-1", LogManager.getLogManager().getProperty( in testConstructor_NoParameter_ValidProperties()
146 LogManager.getLogManager().readConfiguration( in testConstructor_NoParameter_InvalidProperties()
[all …]
DLogManagerTest.java32 import java.util.logging.LogManager;
49 LogManager mockManager;
51 LogManager manager = LogManager.getLogManager();
397 private static void checkPropertyNull(LogManager m) { in checkPropertyNull()
409 private static void checkProperty(LogManager m) { in checkProperty()
534 LogManager.getLogManager().readConfiguration( in testReadConfigurationUpdatesRootLoggersHandlers()
541 LogManager.getLogManager().readConfiguration( in testReadConfigurationUpdatesRootLoggersHandlers()
550 LogManager.getLogManager().readConfiguration( in testReadConfigurationDoesNotUpdateOtherLoggers()
558 LogManager.getLogManager().readConfiguration( in testReadConfigurationDoesNotUpdateOtherLoggers()
806 LogManager.getLogManager().readConfiguration(); in testNotExistConfigFile()
[all …]
DHandlerTest.java30 import java.util.logging.LogManager;
93 LogManager.getLogManager().readConfiguration( in testConstructor_Properties()
96 assertEquals(LogManager.getLogManager().getProperty( in testConstructor_Properties()
98 assertEquals(LogManager.getLogManager().getProperty( in testConstructor_Properties()
106 LogManager.getLogManager().reset(); in testConstructor_Properties()
DMemoryHandlerTest.java30 import java.util.logging.LogManager;
46 final static LogManager manager = LogManager.getLogManager();
DLoggerTest.java35 import java.util.logging.LogManager;
111 assertSame(Logger.global, LogManager.getLogManager() in testGlobalLogger()
241 LogManager.getLogManager().readConfiguration( in testGetLogger_Normal()
244 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_Normal()
251 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_Normal()
274 LogManager.getLogManager().readConfiguration( in testGetLogger_InvalidLevel()
277 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
285 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel()
316 assertNotNull(LogManager.getLogManager().getLogger("")); in testGetLogger_Empty()
318 assertSame(log, LogManager.getLogManager().getLogger("")); in testGetLogger_Empty()
[all …]
DSocketHandlerTest.java33 import java.util.logging.LogManager;
51 private static final LogManager LOG_MANAGER = LogManager.getLogManager();
DFileHandlerTest.java36 import java.util.logging.LogManager;
47 final static LogManager manager = LogManager.getLogManager();
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DLoggingConfigLoader.java34 import java.util.logging.LogManager;
49 private final LogManager logManager;
52 @Inject LoggingConfigLoader(@CaliperDirectory File caliperDirectory, LogManager logManager, in LoggingConfigLoader()
81 maybeLoadDefaultLogConfiguration(LogManager.getLogManager()); in loadLoggingConfig()
90 @VisibleForTesting void maybeLoadDefaultLogConfiguration(LogManager logManager) in maybeLoadDefaultLogConfiguration()
DConfigModule.java22 import java.util.logging.LogManager;
44 @Provides static LogManager provideLogManager() { in provideLogManager()
45 return LogManager.getLogManager(); in provideLogManager()
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancerTest.java44 import java.util.logging.LogManager;
257 LogManager.getLogManager() in overrideProjectIdWithLoggingProperty()
269 LogManager.getLogManager().reset(); in overrideProjectIdWithLoggingProperty()
276 LogManager.getLogManager() in setSpanSelectionWithLoggingProperty()
283 LogManager.getLogManager().reset(); in setSpanSelectionWithLoggingProperty()
290 LogManager.getLogManager() in loggingPropertyTakesPrecedenceOverSystemProperty()
303 LogManager.getLogManager().reset(); in loggingPropertyTakesPrecedenceOverSystemProperty()
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerFactory.java30 import org.apache.log4j.LogManager;
61 log4jLogger = LogManager.getRootLogger(); in getLogger()
63 log4jLogger = LogManager.getLogger(name); in getLogger()
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/
DAbstractOpenCensusLog4jLogCorrelationTest.java28 import org.apache.logging.log4j.LogManager;
61 logger = (Logger) LogManager.getLogger(AbstractOpenCensusLog4jLogCorrelationTest.class); in initializeLog4j()
76 ((LoggerContext) LogManager.getContext(false)).updateLoggers(); in logWithSpanAndLog4jConfiguration()
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
DSLF4JBridgeHandler.java32 import java.util.logging.LogManager;
120 LogManager.getLogManager().getLogger("").addHandler(new SLF4JBridgeHandler()); in install()
124 return LogManager.getLogManager().getLogger(""); in getRootLogger()
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/
DSLF4JBridgeHandlerPerfTest.java28 import java.util.logging.LogManager;
46 java.util.logging.Logger julRootLogger = LogManager.getLogManager().getLogger("");
/external/caliper/caliper/src/test/java/com/google/caliper/config/
DLoggingConfigLoaderTest.java44 import java.util.logging.LogManager;
57 @Mock LogManager logManager;
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancer.java27 import java.util.logging.LogManager;
154 String property = LogManager.getLogManager().getProperty(name); in lookUpProperty()
/external/vogar/src/vogar/target/
DTestEnvironment.java30 import java.util.logging.LogManager;
173 LogManager.getLogManager().reset(); in reset()
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DLogManager.java38 public class LogManager { class
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md931 class LogManager : public system::mojom::LoggerProvider,
934 explicit LogManager(system::mojom::LoggerProviderRequest request)
936 ~LogManager() {}