Changes between Version 17 and Version 18 of Java API
- Timestamp:
- 11/01/12 17:35:37 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Java API
v17 v18 122 122 and the message will be printed with timestamp and kernel name, and written to a log file {{{"kernelName.log"}}}, in the temporary path of the kernel. For more control over the log levels, a [[http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html|Java log Level]] can be used: 123 123 {{{ 124 log("some message", Level.SEVERE); 124 log("something went very wrong; you will see this message even with the -q or --quiet flag.", Level.SEVERE); 125 log("unless you use the -v or --verbose flag, you will only see this message in the log file.", Level.FINE); 125 126 }}} 126 127 Finally, for full control over the logger and for error handling the logger can also be accessed directly.