MCPcopy
hub / github.com/ticarpi/jwt_tool / setLog

Function setLog

jwt_tool.py:284–288  ·  view source on GitHub ↗
(jwt, genTime, logID, modulename, targetURL, additional)

Source from the content-addressed store, hash-verified

282 pass
283
284def setLog(jwt, genTime, logID, modulename, targetURL, additional):
285 logLine = genTime+" | "+modulename+" | "+targetURL+" | "+additional
286 with open(logFilename, 'a') as logFile:
287 logFile.write(logID+" - "+logLine+" - "+jwt+"\n")
288 return logID
289
290def buildHead(alg, headDict):
291 newHead = headDict

Callers 1

jwtOutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected