Wrapping up for the day.

This commit is contained in:
Scott Idem
2025-01-28 18:57:14 -05:00
parent cb19031989
commit fc517540dc

View File

@@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
/** @type {import('./$types').LayoutData} */ /** @type {import('./$types').LayoutData} */
let log_lvl: number = 1; let log_lvl: number = 0;
// *** Import Svelte specific // *** Import Svelte specific
import '../app.postcss'; import '../app.postcss';
@@ -56,7 +56,7 @@ interface Props {
let { data, children }: Props = $props(); let { data, children }: Props = $props();
if (log_lvl) { if (log_lvl > 1) {
console.log(`ae_root +layout.svelte data:`, data); console.log(`ae_root +layout.svelte data:`, data);
} }
@@ -74,7 +74,7 @@ $ae_api = {
...$ae_api, ...$ae_api,
...ae_acct.api, ...ae_acct.api,
} }
if (log_lvl) { if (log_lvl > 1) {
console.log(`$ae_api = `, $ae_api); console.log(`$ae_api = `, $ae_api);
} }
@@ -82,7 +82,7 @@ $ae_loc = {
...$ae_loc, ...$ae_loc,
...ae_acct.loc, ...ae_acct.loc,
} }
if (log_lvl) { if (log_lvl > 1) {
console.log(`$ae_loc = `, $ae_loc); console.log(`$ae_loc = `, $ae_loc);
} }
@@ -90,7 +90,7 @@ $slct = {
...$slct, ...$slct,
...ae_acct.slct, ...ae_acct.slct,
} }
if (log_lvl) { if (log_lvl > 1) {
console.log(`$slct = `, $slct); console.log(`$slct = `, $slct);
} }