module Logfile:sig..end
A rudimentary interface to C streams for logging in Sundials.
Files for error and diagnostic information. File values are passed
to functions like Cvode.set_error_file and Kinsol.set_info_file to
log solver errors and diagnostics.
typet =Logfile.t
An open log file.
val stderr : tThe stderr file.
val stdout : tThe stdout file.
val openfile : ?trunc:bool -> string -> tOpens the named file. When trunc is false, the default, writes are
appended to the file. When trunc is true, the opened file is
truncated to zero length. Files are closed on garbage collection.
val output_string : t -> string -> unitWrites the given string to an open log file.
val output_bytes : t -> bytes -> unitWrites the given byte sequence to an open log file.
val flush : t -> unitFlushes the given file.
val close : t -> unitCloses the given file.