Pyhton控制台捕捉异常,并写入log日志内
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2022/2/24 下午12:24
# @Author : H贤笙
class valueType:
def __init__(self):
pass
def toLog(self, input_message):
input_message =<
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time : 2022/2/24 下午12:24
# @Author : H贤笙
class valueType:
def __init__(self):
pass
def toLog(self, input_message):
input_message =<