Changes between Version 17 and Version 18 of Java API

Show
Ignore:
Timestamp:
11/01/12 17:35:37 (12 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Java API

    v17 v18  
    122122and 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: 
    123123{{{ 
    124 log("some message", Level.SEVERE); 
     124log("something went very wrong; you will see this message even with the -q or --quiet flag.", Level.SEVERE); 
     125log("unless you use the -v or --verbose flag, you will only see this message in the log file.", Level.FINE); 
    125126}}} 
    126127Finally, for full control over the logger and for error handling the logger can also be accessed directly.