()
| 272 | |
| 273 | /// Deletes the current log file |
| 274 | public static void deleteLog() { |
| 275 | if (instance.output != null) { |
| 276 | Util.cleanup(instance.output); |
| 277 | instance.output = null; |
| 278 | } |
| 279 | if (instance.getFileURL() == null) { |
| 280 | Storage.getInstance().deleteStorageFile("CN1Log__$"); |
| 281 | } else { |
| 282 | if (FileSystemStorage.getInstance().exists(instance.getFileURL())) { |
| 283 | FileSystemStorage.getInstance().delete(instance.getFileURL()); |
| 284 | } |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | /// Returns the logging level for printing log details, the lower the value |
| 289 | /// the more verbose would the printouts be |
no test coverage detected