engforge.reporting.ExcelReporter

class ExcelReporter(path=None, report_mode='single', name='EXCEL')[source]

Bases: TableReporter, DiskReporterMixin

Method generated by attrs for class ExcelReporter.

Methods

add_fields

Overwrite this to modify logging fields

change_all_log_lvl

check_config

a test to see if the reporter should be used

critical

A routine to communicate to the root of the server network that there is an issue

debug

Writes at a low level to the log file.

ensure_exists

ensure_path

error

Writes to log as a error

extract_message

filter

This acts as the interface for logging.Filter Don't overwrite this, use add_fields instead.

info

Writes to log but with info category, these are important typically and inform about progress of process in general

installSTDLogger

We only want std logging to start

message_with_identiy

converts to color and string via the termcolor library :type message: str :param message: a string convertable entity :type color: :param color: a color in [grey,red,green,yellow,blue,magenta,cyan,white]

msg

Writes to log.

resetLog

reset log

resetSystemLogs

resets log on all internal instance LoggingMixins

slack_notification

subclasses

get all reporters of this type

upload

warning

Writes to log as a warning

Attributes

date_key

identity

log_fmt

log_level

log_on

logger

month_key

name

path

report_mode

report_root

define your keys!

slack_webhook_url

Parameters:
  • path (str)

  • report_mode (str)

  • name (str)

add_fields(record)

Overwrite this to modify logging fields

check_config()

a test to see if the reporter should be used

critical(*args)

A routine to communicate to the root of the server network that there is an issue

debug(*args)

Writes at a low level to the log file… usually this should be detailed messages about what exactly is going on

error(error, msg='')

Writes to log as a error

filter(record)

This acts as the interface for logging.Filter Don’t overwrite this, use add_fields instead.

info(*args)

Writes to log but with info category, these are important typically and inform about progress of process in general

installSTDLogger()

We only want std logging to start

message_with_identiy(message, color=None)

converts to color and string via the termcolor library :type message: str :param message: a string convertable entity :type color: :param color: a color in [grey,red,green,yellow,blue,magenta,cyan,white]

Parameters:

message (str)

msg(*args, lvl=5)

Writes to log… this should be for raw data or something… least priorty

property report_root

define your keys!

resetLog()

reset log

resetSystemLogs(reseted=None)

resets log on all internal instance LoggingMixins

classmethod subclasses(out=None)

get all reporters of this type

warning(*args)

Writes to log as a warning