core.logger

eosfactory.core.logger.DEBUG(msg=None, verbosity=None, translate=True)[source]

DEBUG message logger.

Print the message, translated is the translate flag is set. Store the processed message in a buffer. The stored message is returned if the function is called empty.

Parameters:
  • msg (str) – The message to be printed. If not set, return the buffer.
  • verbosity ([core.logger.Verbosity]) – The message is printed and buffered if, and only if, its name is in the verbosity list. If not set, the value set with the function core.logger.verbosity() is assumed, or a default value is assumed.
eosfactory.core.logger.INFO(msg=None, verbosity=None, translate=True)[source]

INFO message logger.

Print the message, translated is the translate flag is set. Store the processed message in a buffer. The stored message is returned if the function is called empty.

Parameters:
  • msg (str) – The message to be printed. If not set, return the buffer.
  • verbosity ([core.logger.Verbosity]) – The message is printed and buffered if, and only if, its name is in the verbosity list. If not set, the value set with the function core.logger.verbosity() is assumed, or a default value is assumed.
eosfactory.core.logger.OUT(msg=None, verbosity=None, translate=True)[source]

OUT message logger.

Print the message, translated is the translate flag is set. Store the processed message in a buffer. The stored message is returned if the function is called empty.

Parameters:
  • msg (str) – The message to be printed. If not set, return the buffer.
  • verbosity ([core.logger.Verbosity]) – The message is printed and buffered if, and only if, its name is in the verbosity list. If not set, the value set with the function core.logger.verbosity() is assumed, or a default value is assumed.
eosfactory.core.logger.TRACE(msg=None, verbosity=None, translate=True)[source]

TRACE message logger.

Print the message, translated is the translate flag is set. Store the processed message in a buffer. The stored message is returned if the function is called empty.

Parameters:
  • msg (str) – The message to be printed. If not set, return the buffer.
  • verbosity ([core.logger.Verbosity]) – The message is printed and buffered if, and only if, its name is in the verbosity list. If not set, the value set with the function core.logger.verbosity() is assumed, or a default value is assumed.
class eosfactory.core.logger.Verbosity[source]

Bases: enum.Enum

An enumeration.