A simple base logger class.
This class is used for logging information.
Methods:
| Name |
Description |
__init__ |
Initializes the BaseLogger instance.
|
Attributes:
| Name |
Type |
Description |
info |
callable
|
A callable method for logging information.
|
Source code in apps/client-layer/streamlit-genai/streamlit_genai/utils.py
| class BaseLogger:
"""
A simple base logger class.
This class is used for logging information.
Methods:
__init__(self) -> None:
Initializes the BaseLogger instance.
Attributes:
info (callable): A callable method for logging information.
"""
def __init__(self) -> None:
self.info = print
|