Wrapping up for the day.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
/** @type {import('./$types').LayoutData} */
|
||||
let log_lvl: number = 1;
|
||||
let log_lvl: number = 0;
|
||||
|
||||
// *** Import Svelte specific
|
||||
import '../app.postcss';
|
||||
@@ -56,7 +56,7 @@ interface Props {
|
||||
|
||||
let { data, children }: Props = $props();
|
||||
|
||||
if (log_lvl) {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`ae_root +layout.svelte data:`, data);
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ $ae_api = {
|
||||
...$ae_api,
|
||||
...ae_acct.api,
|
||||
}
|
||||
if (log_lvl) {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`$ae_api = `, $ae_api);
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ $ae_loc = {
|
||||
...$ae_loc,
|
||||
...ae_acct.loc,
|
||||
}
|
||||
if (log_lvl) {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`$ae_loc = `, $ae_loc);
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ $slct = {
|
||||
...$slct,
|
||||
...ae_acct.slct,
|
||||
}
|
||||
if (log_lvl) {
|
||||
if (log_lvl > 1) {
|
||||
console.log(`$slct = `, $slct);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user