Shit ton of changes in changing and upgrading to use svk's modern features (observability, remote functions)
This commit is contained in:
@@ -40,7 +40,7 @@ const colors = {
|
||||
|
||||
const level = () => {
|
||||
const envLevel = process.env.LOG_LEVEL?.toLowerCase();
|
||||
if (envLevel && envLevel in levels) {
|
||||
if (envLevel && envLevel in Object.keys(levels)) {
|
||||
return envLevel;
|
||||
}
|
||||
return settings.isDevelopment ? "debug" : "warn";
|
||||
|
||||
Reference in New Issue
Block a user