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:
@@ -48,8 +48,7 @@
|
|||||||
// $ae_loc.url_origin = data.url.origin;
|
// $ae_loc.url_origin = data.url.origin;
|
||||||
|
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
log_lvl = 1;
|
if (log_lvl > 1) {
|
||||||
if (log_lvl) {
|
|
||||||
console.log(`event_id: ${url_event_id}`);
|
console.log(`event_id: ${url_event_id}`);
|
||||||
console.log(`event_location_id: ${url_event_location_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 ?? [
|
$events_slct.id_li__event_location = ae_acct.slct.id_li__event_location ?? [
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
if (log_lvl) {
|
if (log_lvl > 1) {
|
||||||
console.log(
|
console.log(
|
||||||
`$events_slct.event_location_obj_li:`,
|
`$events_slct.event_location_obj_li:`,
|
||||||
$events_slct.event_location_obj_li
|
$events_slct.event_location_obj_li
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
let search_debounce_timer: any = null;
|
let search_debounce_timer: any = null;
|
||||||
let last_search_id = 0;
|
let last_search_id = 0;
|
||||||
let last_executed_key = '';
|
let last_executed_key = '';
|
||||||
let log_lvl = 1;
|
let log_lvl = 0;
|
||||||
|
|
||||||
// Stable LiveQuery Pattern
|
// Stable LiveQuery Pattern
|
||||||
let lq__event_exhibit_obj_li = $derived.by(() => {
|
let lq__event_exhibit_obj_li = $derived.by(() => {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
let search_debounce_timer: any = null;
|
let search_debounce_timer: any = null;
|
||||||
let last_search_id = 0;
|
let last_search_id = 0;
|
||||||
let last_executed_key = '';
|
let last_executed_key = '';
|
||||||
let log_lvl = 1;
|
let log_lvl = 0;
|
||||||
|
|
||||||
// --- NEW: Direct Reactive List Pattern ---
|
// --- NEW: Direct Reactive List Pattern ---
|
||||||
let raw_lead_li: any[] = $state([]);
|
let raw_lead_li: any[] = $state([]);
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export async function load({ params, parent }) {
|
|||||||
hidden: 'all',
|
hidden: 'all',
|
||||||
limit: 150,
|
limit: 150,
|
||||||
try_cache: true,
|
try_cache: true,
|
||||||
log_lvl: 2
|
log_lvl: 0
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -254,7 +254,6 @@
|
|||||||
order_by_li?: any;
|
order_by_li?: any;
|
||||||
log_lvl?: number;
|
log_lvl?: number;
|
||||||
}) {
|
}) {
|
||||||
log_lvl = 2;
|
|
||||||
if (log_lvl) {
|
if (log_lvl) {
|
||||||
console.log('handle_qry__event_file()');
|
console.log('handle_qry__event_file()');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,7 +208,6 @@
|
|||||||
// try_cache?: boolean,
|
// try_cache?: boolean,
|
||||||
log_lvl?: number;
|
log_lvl?: number;
|
||||||
}) {
|
}) {
|
||||||
log_lvl = 2;
|
|
||||||
if (log_lvl) {
|
if (log_lvl) {
|
||||||
console.log('handle_search__event_presenter()');
|
console.log('handle_search__event_presenter()');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { untrack } from 'svelte';
|
import { untrack } from 'svelte';
|
||||||
let log_lvl: number = 2;
|
let log_lvl: number = 0;
|
||||||
|
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
let { data }: Props = $props();
|
let { data }: Props = $props();
|
||||||
|
|
||||||
let log_lvl: number = 2;
|
let log_lvl: number = 0;
|
||||||
|
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
import { onMount, onDestroy } from 'svelte';
|
import { onMount, onDestroy } from 'svelte';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
let { data }: Props = $props();
|
let { data }: Props = $props();
|
||||||
|
|
||||||
let log_lvl: number = $state(1);
|
let log_lvl: number = $state(0);
|
||||||
|
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
// import { page } from '$app/state';
|
// import { page } from '$app/state';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
let log_lvl: number = 2;
|
let log_lvl: number = 0;
|
||||||
|
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
/** @type {import('./$types').PageData} */
|
/** @type {import('./$types').PageData} */
|
||||||
let log_lvl: number = $state(1);
|
let log_lvl: number = $state(0);
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
data: any;
|
data: any;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
/** @type {import('./$types').PageData} */
|
/** @type {import('./$types').PageData} */
|
||||||
let log_lvl: number = $state(1);
|
let log_lvl: number = $state(0);
|
||||||
|
|
||||||
// *** Import Svelte specific
|
// *** Import Svelte specific
|
||||||
import { untrack } from 'svelte';
|
import { untrack } from 'svelte';
|
||||||
|
|||||||
Reference in New Issue
Block a user