for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""
General file system methods.
.. moduleauthor:: Jaisen Mathai <[email protected]>
from __future__ import print_function
from json import dumps
from elodie import constants
def all(message):
_print(message)
def info(message):
_print_debug(message)
def info_json(payload):
_print_debug(dumps(payload))
def progress(message='.', new_line=False):
if not new_line:
print(message, end="")
else:
print(message)
def warn(message):
def warn_json(payload):
def error(message):
def error_json(payload):
def _print_debug(string):
if(constants.debug is True):
_print(string)
def _print(s):
try:
print(s)
except UnicodeEncodeError:
for c in s:
print(c, end='')
print('?', end='')