ApkInjectorLogger

class apkinjector.logger.ApkInjectorLogger(name: str)

Fstring like logging. e.g: log.info(‘Hello {}’, ‘World’)

error(message: str, *args: Union[Tuple[str], List[str]])

Prints error message in red and calls sys.exit(1).

Parameters

message (str) – Message to print.

info(message: str, *args: Union[Tuple[str], List[str]])

Prints info log message in green.

Parameters

message (str) – Message to print.

warning(message: str, *args: Union[Tuple[str], List[str]])

Prints warning log message in yellow.

Parameters

message (str) – Message to print.