Chore: silence debug logging across all pages (log_lvl → 0)

Set log_lvl to 0 in all pages and layouts that had it left at 1 or 2
from development. Also remove two hardcoded `log_lvl = 2` overrides
inside function bodies in reports_files.svelte and
reports_presenters.svelte that were forcing verbose output regardless
of the module-level setting.

Affected: launcher location page, leads pages (2), pres_mgmt reports (2),
presenter +page.ts, IDAA layouts (2), IDAA archives, IDAA recovery
meetings page, journals pages (2).
This commit is contained in:
Scott Idem
2026-03-10 14:23:28 -04:00
parent 283ccb3ce4
commit 517c40bb11
12 changed files with 11 additions and 14 deletions

View File

@@ -48,8 +48,7 @@
// $ae_loc.url_origin = data.url.origin;
$effect(() => {
log_lvl = 1;
if (log_lvl) {
if (log_lvl > 1) {
console.log(`event_id: ${url_event_id}`);
console.log(`event_location_id: ${url_event_location_id}`);
}
@@ -68,7 +67,7 @@
$events_slct.id_li__event_location = ae_acct.slct.id_li__event_location ?? [
''
];
if (log_lvl) {
if (log_lvl > 1) {
console.log(
`$events_slct.event_location_obj_li:`,
$events_slct.event_location_obj_li

View File

@@ -29,7 +29,7 @@
let search_debounce_timer: any = null;
let last_search_id = 0;
let last_executed_key = '';
let log_lvl = 1;
let log_lvl = 0;
// Stable LiveQuery Pattern
let lq__event_exhibit_obj_li = $derived.by(() => {

View File

@@ -72,7 +72,7 @@
let search_debounce_timer: any = null;
let last_search_id = 0;
let last_executed_key = '';
let log_lvl = 1;
let log_lvl = 0;
// --- NEW: Direct Reactive List Pattern ---
let raw_lead_li: any[] = $state([]);

View File

@@ -46,7 +46,7 @@ export async function load({ params, parent }) {
hidden: 'all',
limit: 150,
try_cache: true,
log_lvl: 2
log_lvl: 0
});
}

View File

@@ -254,7 +254,6 @@
order_by_li?: any;
log_lvl?: number;
}) {
log_lvl = 2;
if (log_lvl) {
console.log('handle_qry__event_file()');
}

View File

@@ -208,7 +208,6 @@
// try_cache?: boolean,
log_lvl?: number;
}) {
log_lvl = 2;
if (log_lvl) {
console.log('handle_search__event_presenter()');
}

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { untrack } from 'svelte';
let log_lvl: number = 2;
let log_lvl: number = 0;
// *** Import Svelte specific
import { browser } from '$app/environment';

View File

@@ -6,7 +6,7 @@
let { data }: Props = $props();
let log_lvl: number = 2;
let log_lvl: number = 0;
// *** Import Svelte specific
import { onMount, onDestroy } from 'svelte';

View File

@@ -6,7 +6,7 @@
}
let { data }: Props = $props();
let log_lvl: number = $state(1);
let log_lvl: number = $state(0);
// *** Import Svelte specific
// import { page } from '$app/state';

View File

@@ -1,5 +1,5 @@
<script lang="ts">
let log_lvl: number = 2;
let log_lvl: number = 0;
// *** Import Svelte specific
import { browser } from '$app/environment';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
/** @type {import('./$types').PageData} */
let log_lvl: number = $state(1);
let log_lvl: number = $state(0);
interface Props {
data: any;

View File

@@ -1,6 +1,6 @@
<script lang="ts">
/** @type {import('./$types').PageData} */
let log_lvl: number = $state(1);
let log_lvl: number = $state(0);
// *** Import Svelte specific
import { untrack } from 'svelte';