__init__(self,
logger,
struct_writer=None,
message=None)
(Constructor)
|
|
Parameters
logger (logging.Logger)
The logger instance that will be used to output messages.
struct_writer (obj with append method)
An instance that will log structures that have errors. Any
instance with an append method (such as a StructureWriter or
list) can be used.
message (str)
The message to use as the logging template. It should have
format conversion specifiers for (index, structure title,
exception) (types of int, str, exception).
|