sherpa_ai.verbose_loggers package#

Submodules#

sherpa_ai.verbose_loggers.base module#

class sherpa_ai.verbose_loggers.base.BaseVerboseLogger[source]#

Bases: ABC

abstract log(message: str)[source]#

sherpa_ai.verbose_loggers.verbose_loggers module#

class sherpa_ai.verbose_loggers.verbose_loggers.DummyVerboseLogger[source]#

Bases: BaseVerboseLogger

A logger that does nothing when the verbose is not on

log(message: str)[source]#
class sherpa_ai.verbose_loggers.verbose_loggers.SlackVerboseLogger(logger: Callable[[str], None], thread_ts: str)[source]#

Bases: BaseVerboseLogger

A logger that sends messages to Slack

log(message: str)[source]#
logger: Callable[[str], None]#
thread_ts: str#
class sherpa_ai.verbose_loggers.verbose_loggers.StorageVerboseLogger[source]#

Bases: BaseVerboseLogger

A logger that stores all messages in a list, for testing purpose

log(message: str)[source]#
storage: List[str]#

Module contents#

class sherpa_ai.verbose_loggers.DummyVerboseLogger[source]#

Bases: BaseVerboseLogger

A logger that does nothing when the verbose is not on

log(message: str)[source]#
class sherpa_ai.verbose_loggers.SlackVerboseLogger(logger: Callable[[str], None], thread_ts: str)[source]#

Bases: BaseVerboseLogger

A logger that sends messages to Slack

log(message: str)[source]#
logger: Callable[[str], None]#
thread_ts: str#
class sherpa_ai.verbose_loggers.StorageVerboseLogger[source]#

Bases: BaseVerboseLogger

A logger that stores all messages in a list, for testing purpose

log(message: str)[source]#
storage: List[str]#