matscipy.logger
Log status to screen.
Functions
|
|
|
Return header description strings |
|
Return header format string for datatype x |
|
Return numeric format string for datatype x |
Classes
|
- matscipy.logger.hdr_str(s, x)
Return header description strings
- matscipy.logger.hdrfmt_str(x, i)
Return header format string for datatype x
- matscipy.logger.numfmt_str(x, i)
Return numeric format string for datatype x
- matscipy.logger.flatten(x)
- class matscipy.logger.Logger(logfile=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, outevery=1, sepevery=10)
Bases:
object
Methods
flush
get_logfile
has_logfile
iteration_finished
pr
set_logfile
set_outevery
st
warn
- __init__(logfile=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, outevery=1, sepevery=10)
- flush()
- set_logfile(logfile)
- pr(s, caller=None, logfile=None)
- warn(s, caller=None)
- st(hdr, vals, force_print=False)
- iteration_finished()
- get_logfile()
- has_logfile()
- set_outevery(outevery)