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

Method _compute_fn

fastdeploy/utils.py:308–312  ·  view source on GitHub ↗

Calculate the log file name corresponding current time

(self)

Source from the content-addressed store, hash-verified

306 self.delete_expired_files()
307
308 def _compute_fn(self):
309 """
310 Calculate the log file name corresponding current time
311 """
312 return self.base_filename + "." + time.strftime(self.suffix, time.localtime())
313
314 def _open(self):
315 """

Callers 3

__init__Method · 0.95
shouldRolloverMethod · 0.95
doRolloverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected