Log
Logs message and current data
Subclass of Component.
Module: core
Methods and properties
Main methods and properties
__init__
Arguments:
level (int, optional): Logging level. Defaults to logging.NOTSET.
message (str, optional): Message that will be logged. Defaults to "".
open (str, optional): String that will be inserted before mesage(new line). Defaults to "-"*40.
close (str, optional): String that will be inserted after mesage(new line). Defaults to "-"*40.
include_input_data (bool, optional): Include data representation in log. Defaults to True.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
execute
Create message string
Arguments:
input_data (Any): Data for representation.
Returns:
str: Message for logging.
Last updated