MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / get_prefix

Function get_prefix

src/logging.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace logging {
24
25static inline char const* get_prefix(verbosity v)
26{
27 switch (v) {
28 case verbosity::error:
29 return "[ERROR]";
30 case verbosity::info:
31 return "[INFO]";
32 case verbosity::debug:
33 return "[DEBUG]";
34 default:
35 return "[UNKNOWN]";
36 }
37}
38
39LAMBDA_RUNTIME_API
40void log(verbosity v, char const* tag, char const* msg, va_list args)

Callers 1

logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected