mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
21 lines
400 B
Python
21 lines
400 B
Python
import sys
|
|
|
|
|
|
class Logger(object):
|
|
@staticmethod
|
|
def printing(msg):
|
|
print(u'{}'.format(msg))
|
|
|
|
@staticmethod
|
|
def warn(msg):
|
|
print(u'Warning. {}'.format(msg))
|
|
|
|
@staticmethod
|
|
def error(msg):
|
|
#sys.stderr.write('Error. {}\n'.format(msg))
|
|
print(u'Error. {}'.format(msg))
|
|
|
|
@staticmethod
|
|
def debug(msg):
|
|
print(u'Debug. {}'.format(msg))
|