# Path: XulDebugTool/utils/DateFormat.py
# class LogFormatTool(object):
# 
#     @classmethod
#     def buildStandardTime(self):
#         ct = time.time()
#         local_time = time.localtime(ct)
#         data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time)
#         data_secs = (ct - int(ct)) * 1000
#         time_stamp = "%s.%03d" % (data_head, data_secs)
#         return time_stamp


import re
from XulDebugTool.utils.DateFormat import LogFormatTool
#!/usr/bin/python
# coding: utf-8
"""
author: CAI
last edited: 2017.10.29
该类用于控制窗口日志输出
"""



class ConsoleController(object):

    @classmethod
    def windowPrintInfo(self, loggername, mode, msg):

# Path: XulDebugTool/utils/DateFormat.py
# class LogFormatTool(object):
# 
#     @classmethod
#     def buildStandardTime(self):
#         ct = time.time()
#         local_time = time.localtime(ct)
#         data_head = time.strftime("%Y-%m-%d %H:%M:%S", local_time)
#         data_secs = (ct - int(ct)) * 1000
#         time_stamp = "%s.%03d" % (data_head, data_secs)
#         return time_stamp


# Path: XulDebugTool/controller/ConsoleDeskController.py
import re
from XulDebugTool.utils.DateFormat import LogFormatTool

#!/usr/bin/python
# coding: utf-8
"""
author: CAI
last edited: 2017.10.29
该类用于控制窗口日志输出
"""



class ConsoleController(object):

    @classmethod
    def windowPrintInfo(self, loggername, mode, msg):

        windowStr = LogFormatTool.buildStandardTime() + " - " + loggername + " - " + mode + " - "