avl._core.log module
- class avl._core.log.Log[source]
- static set_logfile(logfile: str) None[source]
Sets the log file for the logger.
File extension determines the format of the log file. Supported formats include CSV, JSON, YAML, TXT, Markdown, and reStructuredText (RST).
- Parameters:
logfile (str) – Name of the log file.
- static set_flush_level(level: int) None[source]
Sets the flush level for the logger.
- Parameters:
level – Flush level to be set.
- static debug(msg: str, group: str = 'cocotb') None[source]
Logs a debug message.
- Parameters:
msg (str) – Message to be logged.
group (str) – Group to which the message belongs.
- static info(msg: str, group: str = 'cocotb') None[source]
Logs an info message.
- Parameters:
msg (str) – Message to be logged.
group (str) – Group to which the message belongs.
- static warn(msg: str, group: str = 'cocotb') None[source]
Logs a warning message.
- Parameters:
msg (str) – Message to be logged.
group (str) – Group to which the message belongs.
- static warning(msg: str, group: str = 'cocotb') None[source]
Logs a warning message.
- Parameters:
msg (str) – Message to be logged.
group (str) – Group to which the message belongs.
- static error(msg: str, group: str = 'cocotb') None[source]
Logs an error message.
- Parameters:
msg (str) – Message to be logged.
group (str) – Group to which the message belongs.