MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getOSPLog

Method getOSPLog

src/org/opensourcephysics/controls/OSPLog.java:203–208  ·  view source on GitHub ↗

Gets the OSPLog that can be shared by multiple OSP packages. @return the shared OSPLog

()

Source from the content-addressed store, hash-verified

201 * @return the shared OSPLog
202 */
203 public static OSPLog getOSPLog() {
204 if (OSPLOG == null && !useMessageFrame()) { // cannot redirect applet streams
205 OSPLOG = new OSPLog("org.opensourcephysics", null); //$NON-NLS-1$
206 }
207 return OSPLOG;
208 }
209
210 public static void getOSPLog(boolean useFrame) {
211 OSPLog.useFrame = useFrame;

Callers 9

createGUIMethod · 0.95
getBrowserMethod · 0.95
launchMethod · 0.95
showLogMethod · 0.95
getLevelValueMethod · 0.95
setLevelMethod · 0.95
logMsgMethod · 0.95
setFontsMethod · 0.95
getFrameMethod · 0.95

Calls 1

useMessageFrameMethod · 0.95

Tested by

no test coverage detected