MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / _compute_fn

Method _compute_fn

fastdeploy/logger/handlers.py:316–320  ·  view source on GitHub ↗

Calculate the log file name corresponding current time

(self)

Source from the content-addressed store, hash-verified

314 self.delete_expired_files()
315
316 def _compute_fn(self):
317 """
318 Calculate the log file name corresponding current time
319 """
320 return self.base_filename + "." + time.strftime(self.suffix, time.localtime())
321
322 def _open(self):
323 """

Callers 3

__init__Method · 0.95
shouldRolloverMethod · 0.95
doRolloverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected