polychemprint3.utility.loggerSpec module¶
Specifies interface for all classes to read/write themselves to string.
First created on Sun Oct 20 00:03:21 2019
Revised: 20/10/2019 00:34:27
Author: Bijal Patel
-
class
polychemprint3.utility.loggerSpec.loggerSpec(**kwargs)¶ Bases:
abc.ABCAbstract Base Class for objects that can generate log strings.
-
loadLogSelf(yamlString)¶ loads yaml log back into dict.
Parameters: yamlString (String) – yaml string to be loaded back in
-
writeLogSelf()¶ Generates yaml string containing dict to be written to log file.
Returns: log in yaml string format Return type: String
-