feat: modular domain driven boilerplate
This commit is contained in:
13
platform/logger/config.ts
Normal file
13
platform/logger/config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { getEnvironmentVariable } from "@platform/config/environment.ts";
|
||||
import z from "zod";
|
||||
|
||||
export const config = {
|
||||
level: getEnvironmentVariable({
|
||||
key: "LOG_LEVEL",
|
||||
type: z.string(),
|
||||
fallback: "info",
|
||||
envFallback: {
|
||||
local: "debug",
|
||||
},
|
||||
}),
|
||||
};
|
||||
Reference in New Issue
Block a user