Base

Submodules

Classes

  • IHost: This is a type hint class (interface description) for a host instance.
class Base.IHost(logger=None)[source]

This is a type hint class (interface description) for a host instance.

It’s needed until PoC requires Python 3.6.

Inheritance

Inheritance diagram of IHost

Members

Platform = 'string'
PoCConfig = <lib.ExtendedConfigParser.ExtendedConfigParser object>
SaveAndReloadPoCConfiguration()[source]
Log(entry, condition=True)

Write an entry to the local logger.

LogDebug(*args, condition=True, **kwargs)
LogDryRun(*args, condition=True, **kwargs)
LogError(*args, condition=True, **kwargs)
LogFatal(*args, condition=True, **kwargs)
LogInfo(*args, condition=True, **kwargs)
LogNormal(*args, condition=True, **kwargs)
LogQuiet(*args, condition=True, **kwargs)
LogVerbose(*args, condition=True, **kwargs)
LogWarning(*args, condition=True, **kwargs)
Logger

Return the local logger instance.

_TryLog(*args, condition=True, **kwargs)