Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
add status file
Browse files Browse the repository at this point in the history
  • Loading branch information
ijager committed Nov 25, 2019
1 parent f6adf08 commit affff04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/status.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@


LOGGER = None

def set_status_logger(logger):
global LOGGER
LOGGER = logger


def set_status(msg):
if LOGGER:
LOGGER(msg)

0 comments on commit affff04

Please sign in to comment.