|
@@ -5,7 +5,7 @@ import time
|
|
|
import logging.config
|
|
|
from log_conf import conf
|
|
|
|
|
|
-
|
|
|
+"""
|
|
|
class Log(object):
|
|
|
def __init__(self):
|
|
|
# 配置
|
|
@@ -36,9 +36,9 @@ class Log(object):
|
|
|
|
|
|
def error(self, message):
|
|
|
self.__console('error', message)
|
|
|
+"""
|
|
|
|
|
|
|
|
|
-"""
|
|
|
class Log(object):
|
|
|
# def __init__(self, pag_source, log_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")):
|
|
|
def __init__(self, log_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), "logs")):
|
|
@@ -92,4 +92,3 @@ class Log(object):
|
|
|
|
|
|
def error(self, message):
|
|
|
self.__console('error', message)
|
|
|
-"""
|