MCPcopy
hub / github.com/greenrobot/EventBus / JavaLogger

Class JavaLogger

EventBus/src/org/greenrobot/eventbus/Logger.java:27–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 void log(Level level, String msg, Throwable th);
26
27 class JavaLogger implements Logger {
28 protected final java.util.logging.Logger logger;
29
30 public JavaLogger(String tag) {
31 logger = java.util.logging.Logger.getLogger(tag);
32 }
33
34 @Override
35 public void log(Level level, String msg) {
36 // TODO Replace logged method with caller method
37 logger.log(level, msg);
38 }
39
40 @Override
41 public void log(Level level, String msg, Throwable th) {
42 // TODO Replace logged method with caller method
43 logger.log(level, msg, th);
44 }
45
46 }
47
48 class SystemOutLogger implements Logger {
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected