autogen.runtime_logging.start()
and stop logging by calling
autogen.runtime_logging.stop()
Getting Data from the SQLite Database
logs.db
should be generated, by default it’s using SQLite database.
You can view the data with GUI tool like sqlitebrowser
, using SQLite
command line shell or using python script:
Computing Cost
One use case of logging data is to compute the cost of a session.Log data in File mode
By default, the log type is set tosqlite
as shown above, but we
introduced a new parameter for the autogen.runtime_logging.start()
the logger_type = "file"
will start to log data in the File mode.
runtime.log
file in your current directory.