MCPcopy Index your code
hub / github.com/duo-labs/cloudmapper / string

Method string

shared/common.py:35–45  ·  view source on GitHub ↗
(severity_level)

Source from the content-addressed store, hash-verified

33
34 @staticmethod
35 def string(severity_level):
36 if severity_level == Severity.DEBUG:
37 return "DEBUG"
38 elif severity_level == Severity.INFO:
39 return "INFO"
40 elif severity_level == Severity.WARN:
41 return "WARN"
42 elif severity_level == Severity.ERROR:
43 return "ERROR"
44 else:
45 raise Exception("Unknown severity level")
46
47
48LOG_LEVEL = Severity.INFO

Callers 10

log_issueFunction · 0.80
cytoscape.min.jsFile · 0.80
oFunction · 0.80
iFunction · 0.80
aFunction · 0.80
uFunction · 0.80
rFunction · 0.80
cFunction · 0.80
sFunction · 0.80
jquery.qtip.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected