.. _logging: AVL Logging ============ AVL logging sits on top of the `cocotb logging `_ system. However, it provides a few additional features: - It's implemented in a singleton class so you can create groups that are shared across processes. - It allows for a range of commonly used human and machine readable file formats to be generated. The choice of file format is dictated by the file extension of the log file. Supported file formats are: - `csv `_ - `json `_ - `yaml / yml `_ - `md (markdown) `_ - `rst (restructured text) `_ - txt (A Simply formatted table with headers is generated) `cocotb logging `_ is used to log messages to the console. .. literalinclude:: ../../../examples/logging/simple/cocotb/example.py