MCPcopy Index your code
hub / github.com/Waishnav/devspace / parseLogFormat

Function parseLogFormat

src/config.ts:101–106  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

99}
100
101function parseLogFormat(value: string | undefined): LogFormat {
102 if (!value || value === "json") return "json";
103 if (value === "pretty") return "pretty";
104
105 throw new Error(`Invalid DEVSPACE_LOG_FORMAT: ${value}`);
106}
107
108function parsePathList(value: string | undefined): string[] {
109 return (

Callers 1

parseLoggingConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected