Gets the OSPLog that can be shared by multiple OSP packages. @return the shared OSPLog
()
| 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; |
no test coverage detected