Files
Azornes-Comfyui-Model-Resolver/web/log_system/config.js
T
Dariusz L a4d5bd4c5c feat(logging): add frontend/backend log controls, unify console logging
- Add frontend_logs_enabled/frontend_log_level and backend_logs_enabled/backend_log_level
  toggles and selectors in the Options panel (web/resolver/views/options_methods.js)
- Sync frontend logging settings from localStorage / server settings into the
  frontend logger on startup and settings load (download_target_methods.js)
- Apply backend logging settings from server settings in the Python backend
  (__init__.py), loading control state on startup and after saves
- Make frontend Logger resilient to stored configs that lack an 'enabled' flag
  and to legacy/invalid moduleSettings levels (logger.js)
- Guard default module logger level initialization against undefined settings
  (log_funcs.js)
- Replace scattered console.log/usages with module-level log.debug calls across
  resolve_download_methods.js, model_resolver.js, and workflow_state_methods.js
- Bump log system package version to 1.5.6 (core + web)
2026-06-17 01:51:29 +02:00

19 lines
510 B
JavaScript

/**
author: Azornes
title: AzLogs
version: 1.5.6
description: Logging Configuration
*/
// Log level for development.
// Possible values: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'
export const LOG_LEVEL = 'DEBUG';
// Logger module name. Set to null to use the default project name.
export const LOG_MODULE_NAME = "MResolver";
// Default project/logger name used when LOG_MODULE_NAME is not set.
export const DEFAULT_LOGGER_NAME = 'MResolver';
// Enable styled console logs.
export const USE_COLORS = true;