neclib.recorders.file_writer#
Aliases#
None |
|
None |
|
Get logger instance which prints operation logs to console. |
- class FileWriter(*args, **kwargs)[source]#
Bases:
Writer
- append(path, contents, *args, **kwargs)[source]#
Append a chunk of data.
- Returns:
Whether the data is handled by this writer.
- Return type:
handled
- Parameters:
path (str) –
contents (TextLike) –
Notes
The subclass should check the input type, as
Writer
would handle some essentially different data, andRecorder
won’t implement the type checking for extensibility.