ape.infrastructure.baseclass.BaseClass

class ape.infrastructure.baseclass.BaseClass

This class holds the minimum common features.

__init__()

Methods

__init__()
log_error(error[, message]) Logs the error in bold red

Attributes

logger
return:A logging object.
log_error(error, message='')

Logs the error in bold red

Param:
  • error: error type (prefix in red and bold)
  • message: descriptive message (red but not bold)
logger
Returns:A logging object.

Navigation