Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 25 of 1453) sorted by relevance

12345678910>>...59

/external/webrtc/webrtc/base/
Doptional_unittest.cc29 class Logger { class
31 Logger() : id_(next_id_++), origin_(id_) { Log("default constructor"); } in Logger() function in rtc::__anonadb016690111::Logger
32 explicit Logger(int origin) : id_(next_id_++), origin_(origin) { in Logger() function in rtc::__anonadb016690111::Logger
35 Logger(const Logger& other) : id_(next_id_++), origin_(other.origin_) { in Logger() function in rtc::__anonadb016690111::Logger
38 Logger(Logger&& other) : id_(next_id_++), origin_(other.origin_) { in Logger() function in rtc::__anonadb016690111::Logger
41 ~Logger() { Log("destructor"); } in ~Logger()
42 Logger& operator=(const Logger& other) { in operator =()
47 Logger& operator=(Logger&& other) { in operator =()
52 friend void swap(Logger& a, Logger& b) { in swap()
57 friend bool operator==(const Logger& a, const Logger& b) { in operator ==()
[all …]
/external/clang/tools/libclang/
DCLog.h31 class Logger; variable
32 typedef IntrusiveRefCntPtr<Logger> LogRef;
41 class Logger : public RefCountedBase<Logger> {
53 if (const char *EnvOpt = Logger::getEnvVar()) in isStackTracingEnabled()
60 return new Logger(name, trace);
64 explicit Logger(llvm::StringRef name, bool trace) in Logger() function
66 ~Logger();
68 Logger &operator<<(CXTranslationUnit);
69 Logger &operator<<(const FileEntry *FE);
70 Logger &operator<<(CXCursor cursor);
[all …]
/external/syzkaller/vendor/google.golang.org/grpc/grpclog/
Dlogger.go24 type Logger interface { interface
37 func SetLogger(l Logger) { argument
38 logger = &loggerWrapper{Logger: l}
43 Logger anonMember
47 g.Logger.Print(args...)
51 g.Logger.Println(args...)
55 g.Logger.Printf(format, args...)
59 g.Logger.Print(args...)
63 g.Logger.Println(args...)
67 g.Logger.Printf(format, args...)
[all …]
/external/guice/core/test/com/google/inject/
DLoggerInjectionTest.java6 import java.util.logging.Logger;
16 @Inject Logger logger;
31 Logger logger;
35 Foo(Logger logger) { in Foo()
42 assertNull(injector.getInstance(Logger.class).getName()); in testLoggerWithoutMember()
43 assertNull(injector.getProvider(Logger.class).get().getName()); in testLoggerWithoutMember()
44 assertNull(injector.getBinding(Logger.class).getProvider().get().getName()); in testLoggerWithoutMember()
45 assertEquals("Provider<Logger>", injector.getProvider(Logger.class).toString()); in testLoggerWithoutMember()
54 bind(Logger.class) in testCanBindAnnotatedLogger()
56 .toInstance(Logger.getAnonymousLogger()); in testCanBindAnnotatedLogger()
[all …]
/external/stressapptest/src/
Dlogger.cc31 Logger *Logger::GlobalLogger() { in GlobalLogger()
32 static Logger logger; in GlobalLogger()
36 void Logger::VLogF(int priority, const char *format, va_list args) { in VLogF()
59 void Logger::StartThread() { in StartThread()
65 void Logger::StopThread() { in StopThread()
85 Logger::Logger() in Logger() function in Logger
95 Logger::~Logger() { in ~Logger()
101 void Logger::QueueLogLine(string *line) { in QueueLogLine()
119 void Logger::WriteAndDeleteLogLine(string *line) { in WriteAndDeleteLogLine()
131 void *Logger::StartRoutine(void *ptr) { in StartRoutine()
[all …]
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DJDK14LoggerFactory.java27 import org.slf4j.Logger;
42 ConcurrentMap<String, Logger> loggerMap;
45 loggerMap = new ConcurrentHashMap<String, Logger>(); in JDK14LoggerFactory()
53 public Logger getLogger(String name) { in getLogger()
55 if (name.equalsIgnoreCase(Logger.ROOT_LOGGER_NAME)) { in getLogger()
59 Logger slf4jLogger = loggerMap.get(name); in getLogger()
63 java.util.logging.Logger julLogger = java.util.logging.Logger.getLogger(name); in getLogger()
64 Logger newInstance = new JDK14LoggerAdapter(julLogger); in getLogger()
65 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance); in getLogger()
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DLog4jLoggerFactory.java37 …private static ConcurrentMap<String, Logger> log4jLoggers = new ConcurrentHashMap<String, Logger>(…
56 public static Logger getLogger(String name) { in getLogger()
57 org.apache.log4j.Logger instance = log4jLoggers.get(name); in getLogger()
61 Logger newInstance = new Logger(name); in getLogger()
62 Logger oldInstance = log4jLoggers.putIfAbsent(name, newInstance); in getLogger()
67 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger()
68 org.apache.log4j.Logger instance = log4jLoggers.get(name); in getLogger()
72 Logger newInstance = loggerFactory.makeNewLoggerInstance(name); in getLogger()
73 Logger oldInstance = log4jLoggers.putIfAbsent(name, newInstance); in getLogger()
DLogger.java32 public class Logger extends Category { class
34 private static final String LOGGER_FQCN = Logger.class.getName();
36 protected Logger(String name) { in Logger() method in Logger
40 public static Logger getLogger(String name) { in getLogger()
44 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger()
48 public static Logger getLogger(Class clazz) { in getLogger()
57 public static Logger getRootLogger() { in getRootLogger()
58 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger()
DLogManager.java40 public static Logger getRootLogger() { in getRootLogger()
41 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger()
44 public static Logger getLogger(final String name) { in getLogger()
48 public static Logger getLogger(final Class clazz) { in getLogger()
63 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLoggerTest.java37 import java.util.logging.Logger;
65 private Logger sharedLogger = null;
102 assertNull(Logger.global.getFilter()); in testGlobalLogger()
103 assertEquals(0, Logger.global.getHandlers().length); in testGlobalLogger()
104 assertNull(Logger.global.getLevel()); in testGlobalLogger()
105 assertEquals("global", Logger.global.getName()); in testGlobalLogger()
106 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
107 assertNull(Logger.global.getResourceBundle()); in testGlobalLogger()
108 assertNull(Logger.global.getResourceBundleName()); in testGlobalLogger()
109 assertTrue(Logger.global.getUseParentHandlers()); in testGlobalLogger()
[all …]
DLogManagerTest.java34 import java.util.logging.Logger;
108 Logger log = new MockLogger(FOO, null); in testAddGetLogger()
109 Logger foo = mockManager.getLogger(FOO); in testAddGetLogger()
142 Logger foo = new MockLogger(FOO, null); in testAddGetLogger_duplicateName()
143 Logger foo2 = new MockLogger(FOO, null); in testAddGetLogger_duplicateName()
158 Logger foo = new MockLogger("testAddGetLogger_Hierachy.foo", null); in testAddGetLogger_Hierachy()
159 Logger child = new MockLogger("testAddGetLogger_Hierachy.foo.child", in testAddGetLogger_Hierachy()
161 Logger fakeChild = new MockLogger( in testAddGetLogger_Hierachy()
163 Logger grandson = new MockLogger( in testAddGetLogger_Hierachy()
165 Logger otherChild = new MockLogger( in testAddGetLogger_Hierachy()
[all …]
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerFactory.java32 import org.slf4j.Logger;
43 ConcurrentMap<String, Logger> loggerMap;
46 loggerMap = new ConcurrentHashMap<String, Logger>(); in Log4jLoggerFactory()
54 public Logger getLogger(String name) { in getLogger()
55 Logger slf4jLogger = loggerMap.get(name); in getLogger()
59 org.apache.log4j.Logger log4jLogger; in getLogger()
60 if (name.equalsIgnoreCase(Logger.ROOT_LOGGER_NAME)) in getLogger()
65 Logger newInstance = new Log4jLoggerAdapter(log4jLogger); in getLogger()
66 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance); in getLogger()
/external/v8/src/
Dlog.cc916 Logger* logger = isolate_->logger(); in Engage()
957 Logger::Logger(Isolate* isolate) in Logger() function in v8::internal::Logger
971 Logger::~Logger() { in ~Logger()
975 void Logger::AddCodeEventListener(CodeEventListener* listener) { in AddCodeEventListener()
980 void Logger::RemoveCodeEventListener(CodeEventListener* listener) { in RemoveCodeEventListener()
984 void Logger::ProfilerBeginEvent() { in ProfilerBeginEvent()
992 void Logger::StringEvent(const char* name, const char* value) { in StringEvent()
997 void Logger::UncheckedStringEvent(const char* name, const char* value) { in UncheckedStringEvent()
1005 void Logger::IntPtrTEvent(const char* name, intptr_t value) { in IntPtrTEvent()
1010 void Logger::UncheckedIntPtrTEvent(const char* name, intptr_t value) { in UncheckedIntPtrTEvent()
[all …]
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/
DOpenCensusLog4jLogCorrelationAllSpansTest.java28 import org.apache.logging.log4j.core.Logger;
58 new Function<Logger, Void>() { in addSampledSpanToLogEntryWithAllSpans()
60 public Void apply(Logger logger) { in addSampledSpanToLogEntryWithAllSpans()
81 new Function<Logger, Void>() { in addNonSampledSpanToLogEntryWithAllSpans()
83 public Void apply(Logger logger) { in addNonSampledSpanToLogEntryWithAllSpans()
100 new Function<Logger, Void>() { in addBlankSpanToLogEntryWithAllSpans()
102 public Void apply(Logger logger) { in addBlankSpanToLogEntryWithAllSpans()
123 new Function<Logger, Void>() { in preserveOtherKeyValuePairs()
125 public Void apply(Logger logger) { in preserveOtherKeyValuePairs()
149 new Function<Logger, Void>() { in overwriteExistingTracingKey()
[all …]
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
DSimpleLoggerFactory.java30 import org.slf4j.Logger;
41 ConcurrentMap<String, Logger> loggerMap;
44 loggerMap = new ConcurrentHashMap<String, Logger>(); in SimpleLoggerFactory()
50 public Logger getLogger(String name) { in getLogger()
51 Logger simpleLogger = loggerMap.get(name); in getLogger()
55 Logger newInstance = new SimpleLogger(name); in getLogger()
56 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance); in getLogger()
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DJCLLoggerFactory.java32 import org.slf4j.Logger;
61 ConcurrentMap<String, Logger> loggerMap;
64 loggerMap = new ConcurrentHashMap<String, Logger>(); in JCLLoggerFactory()
72 public Logger getLogger(String name) { in getLogger()
73 Logger slf4jLogger = loggerMap.get(name); in getLogger()
78 Logger newInstance = new JCLLoggerAdapter(jclLogger, name); in getLogger()
79 Logger oldInstance = loggerMap.putIfAbsent(name, newInstance); in getLogger()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/
DJDK14AdapterLoggerNameTest.java29 import java.util.logging.Logger;
38 Logger logger = Logger.getLogger("TEST"); in setUp()
45 removeHandlers(Logger.getLogger("TEST")); in tearDown()
50 Logger.getLogger("TEST").info("test message"); in testLoggerNameusingJdkLogging()
57 org.slf4j.Logger logger = factory.getLogger("TEST"); in testLoggerNameUsingSlf4j()
62 private void removeHandlers(Logger logger) { in removeHandlers()
/external/emma/core/java12/com/vladium/emma/
DProcessor.java13 import com.vladium.logging.Logger;
40 final Logger current = Logger.getLogger (); in run()
41 final Logger log = AppLoggers.create (m_appName, toolProperties, current); in run()
51 Logger.push (log); in run()
60 Logger.pop (m_log); in run()
112 protected Logger m_log; // not null only within run()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DSubstitutableLoggerTest.java38 import org.slf4j.Logger;
50 Set<String> expectedMethodSignatures = determineMethodSignatures(Logger.class); in testDelegate()
52Logger proxyLogger = (Logger) Proxy.newProxyInstance(getClass().getClassLoader(), new Class[] { Lo… in testDelegate()
64 …private void invokeMethods(Logger proxyLogger) throws InvocationTargetException, IllegalAccessExce… in invokeMethods()
65 for (Method m : Logger.class.getDeclaredMethods()) { in invokeMethods()
88 private static Set<String> determineMethodSignatures(Class<Logger> loggerClass) { in determineMethodSignatures()
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerFactory.java28 import org.slf4j.Logger;
43 private final ConcurrentMap<String, Logger> loggerMap = new ConcurrentHashMap<String, Logger>();
48 public Logger getLogger(String name) { in getLogger()
50 Logger logger = loggerMap.get(tag); in getLogger()
52 Logger newInstance = new AndroidLoggerAdapter(tag); in getLogger()
53 Logger oldInstance = loggerMap.putIfAbsent(tag, newInstance); in getLogger()
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/
DBug139.java33 import org.apache.log4j.Logger;
39 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in test()
42 Logger log4jLogger = Logger.getLogger("a"); in test()
43 Category log4jCategory = Logger.getLogger("b"); in test()
DBug131.java33 import org.apache.log4j.Logger;
40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in testBug131()
43 Logger log4jLogger = Logger.getLogger("a"); in testBug131()
44 Category log4jCategory = Logger.getLogger("b"); in testBug131()
/external/emma/core/java12/com/vladium/logging/
DLogger.java61 final class Logger implements ILogLevels class
68 …public static Logger create (final int level, final PrintWriter out, final String prefix, final Se… in create()
76 return new Logger (level, out, prefix, classMask); in create()
89 …public static Logger create (final int level, final PrintWriter out, final String prefix, final Se… in create()
90 final Logger base) in create()
117 return new Logger (_level, _out, _prefix, _classMask); in create()
315 public static Logger getLogger () in getLogger()
327 return (Logger) stack.getLast (); in getLogger()
335 public static void push (final Logger ctx) in push()
350 public static void pop (final Logger ctx) in pop()
[all …]
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
DSLF4JBridgeHandler.java35 import org.slf4j.Logger;
102 private static final String FQCN = java.util.logging.Logger.class.getName();
123 private static java.util.logging.Logger getRootLogger() { in getRootLogger()
136 java.util.logging.Logger rootLogger = getRootLogger(); in uninstall()
152 java.util.logging.Logger rootLogger = getRootLogger(); in isInstalled()
167 java.util.logging.Logger rootLogger = getRootLogger(); in removeHandlersForRootLogger()
197 protected Logger getSLF4JLogger(LogRecord record) { in getSLF4JLogger()
224 protected void callPlainSLF4JLogger(Logger slf4jLogger, LogRecord record) { in callPlainSLF4JLogger()
287 Logger slf4jLogger = getSLF4JLogger(record); in publish()
/external/tensorflow/tensorflow/core/platform/
Dlogger.h27 class Logger {
35 using FactoryFunc = Logger* (*)();
41 static Logger* Singleton() { in Singleton()
42 static Logger* instance = singleton_factory_(); in Singleton()
46 virtual ~Logger() = default;

12345678910>>...59