Skip to content

Table of Contents

custom_logger.logger

CustomLogger Objects

class CustomLogger()

The class includes all necessary methods to specify a custom logger

write_to_console

@classmethod
def write_to_console(cls, status, message)

The method includes a functionality to write the log messages to the console

Arguments:

  • status any - Specify the corresponding status
  • message any - Specify the corresponding message

Raises:

  • HanaInjectorError - Wrapper exception to reformat the forwarded potential exception and include inside the trowed stacktrace
  • ValueError - Missed specifying a necessary value

Returns:

None