优点:极简的多日志类。
pip install easyPlog
from easyPlog import Plog log1 = Plog("log1.txt") log1.log('hello','world') log2 = Plog("log2.txt",stream=True, msgOnly=False, cover=False) log2.debug('hello') # log2.log("fas", 'asdf', ['sadf', 12]) log2.info("fas", 12, [23, 4, 5], set(), {'sf': 9}) log2.error("fas", 12, [23, 4, 5], set(), {'sf': 9}) log2.warning("fas", 12, [23, 4, 5], set(), {'sf': 9})