MCPcopy Create free account
hub / github.com/DexterInd/GrovePi / log

Method log

Software/Java/src/com/dexterind/grovepi/utils/Debug.java:75–104  ·  view source on GitHub ↗
(int level, String message)

Source from the content-addressed store, hash-verified

73 }
74
75 public void log(int level, String message) {
76 if (!debug) {
77 return;
78 }
79
80 switch (level) {
81 default:
82 case Debug.FINEST:
83 logger.finest(message);
84 break;
85 case Debug.FINER:
86 logger.finer(message);
87 break;
88 case Debug.FINE:
89 logger.fine(message);
90 break;
91 case Debug.CONFIG:
92 logger.config(message);
93 break;
94 case Debug.INFO:
95 logger.info(message);
96 break;
97 case Debug.WARNING:
98 logger.warning(message);
99 break;
100 case Debug.SEVERE:
101 logger.severe(message);
102 break;
103 }
104 }
105}

Callers 15

tempFunction · 0.80
tempFunction · 0.80
tempFunction · 0.80
tempFunction · 0.80
tempFunction · 0.80
doConnectFunction · 0.80
onOpenFunction · 0.80
onCloseFunction · 0.80
onMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected