MCPcopy
hub / github.com/ZainCheung/netease-cloud / log

Method log

index.py:221–225  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

219 打印日志
220 '''
221 def log(self, text):
222 time_stamp = datetime.datetime.now()
223 print(time_stamp.strftime('%Y.%m.%d-%H:%M:%S') + ' ' + str(text))
224 self.time =time_stamp.strftime('%H:%M:%S')
225 self.list.append("- [" + self.time + "] " + str(text) + "\n\n")
226
227 '''
228 开始执行

Callers 8

loginMethod · 0.95
signMethod · 0.95
dakaMethod · 0.95
detailMethod · 0.95
wxpusherMethod · 0.95
barkMethod · 0.95
serverMethod · 0.95
startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected