MCPcopy Create free account
hub / github.com/apache/cloudberry / getLogType

Function getLogType

gpcontrib/gpcloud/src/s3log.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67LOGTYPE getLogType(const char* v) {
68 if (!v) return STDERR_LOG;
69 if (strcmpci(v, "REMOTE") == 0) return REMOTE_LOG;
70 if (strcmpci(v, "INTERNAL") == 0) return INTERNAL_LOG;
71 return STDERR_LOG;
72}
73
74LOGLEVEL getLogLevel(const char* v) {
75 if (!v) return EXT_FATAL;

Callers 2

TESTFunction · 0.85
InitConfigFunction · 0.85

Calls 1

strcmpciFunction · 0.85

Tested by 1

TESTFunction · 0.68