19 lines
655 B
Python
19 lines
655 B
Python
|
|
# -------------------------------------------------------------------
|
|
# ORTHOGRAPHIC
|
|
# Your personal aerial satellite. Always on. At any altitude.*
|
|
# Developed by MarStrMind
|
|
# License: Open Software License 3.0
|
|
# Up to date version always on marstr.online
|
|
# -------------------------------------------------------------------
|
|
# log.py
|
|
# Convenience call to log output
|
|
# -------------------------------------------------------------------
|
|
|
|
import datetime
|
|
from defines import *
|
|
|
|
def mstr_msg(fnc, msg):
|
|
if mstr_show_log == True:
|
|
now = datetime.datetime.now()
|
|
print(now.strftime(" %H:%M:%S" + " | ["+fnc+"] | " + msg)) |