Logging

randog logs in the standard way provided by python. Therefore, you can configure the stream and file output of the logs in the standard way. See also library docs or HOWTO.

Note

For information on how to output logs when running randog as a command, please read here.

Note

randog’s log output is not very extensive and may not be very informative. We plan to gradually improve it in the future.

API

randog uses the following loggers:

  • randog: the root of loggers used by randog

    • randog.cmd: a logger used by randog command execution

    • randog.factory: a logger used in factory generation or other features of factories

    • (increase loggers as appropriate)

Note

When logging randog, it is recommended that a handler be set up for the logger randog or the root logger root. This is because more loggers may be added in the future, and setting a handler for each child logger may cause unexpected selection and discard.