# org.das2.util.CsvFileLogHandler

java.util.logging Handler that writes each LogRecord as a CSV row.

 Default columns:<ul>
 <li> timestamp_iso - The UTC time
 <li> elapsed_seconds - seconds since the log file was started
 <li> level - integer code for serverity (900=WARNING 800=INFO 500=FINE 300=FINEST)
 <li> logger - logger name
 <li> thread - thread number, and threads existing at initialization are printed at the top (for example 34=AWT-EventQueue)
 <li> source_class - name of the source class
 <li> source_method - name of the source method
 <li> message - formatted log message
 <li> thrown - any thrown exception
 </ul>

# CsvFileLogHandler( )


# CsvFileLogHandler( <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html'>java.nio.file.Path</a> file )


# CsvFileLogHandler( <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html'>java.nio.file.Path</a> file, <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html'>java.nio.charset.Charset</a> charset, boolean writeHeader )


***
<a name="close"></a>
# close
close(  ) &rarr; void



### Returns:
void (returns nothing)


<a href="https://github.com/autoplot/dev/search?q=close&unscoped_q=close">[search for examples]</a>
<a href="https://github.com/autoplot/documentation/blob/master/javadoc/index-all.md">[return to index]</a>

***
<a name="flush"></a>
# flush
flush(  ) &rarr; void



### Returns:
void (returns nothing)


<a href="https://github.com/autoplot/dev/search?q=flush&unscoped_q=flush">[search for examples]</a>
<a href="https://github.com/autoplot/documentation/blob/master/javadoc/index-all.md">[return to index]</a>

***
<a name="publish-java.util.logging.LogRecord"></a>
# publish
publish( <a href='https://docs.oracle.com/javase/8/docs/api/java/util/logging/LogRecord.html'>java.util.logging.LogRecord</a> r ) &rarr; void



### Parameters:
r - a LogRecord

### Returns:
void (returns nothing)


<a href="https://github.com/autoplot/dev/search?q=publish&unscoped_q=publish">[search for examples]</a>
<a href="https://github.com/autoplot/documentation/blob/master/javadoc/index-all.md">[return to index]</a>

