KohakuBlueleaf / a1111-sd-webui-lycoris

An extension for stable-diffusion-webui to load lycoris models.
Apache License 2.0
861 stars 116 forks source link

Enhancement: improve logging #48

Closed vladmandic closed 1 year ago

vladmandic commented 1 year ago

one issue i have is with lyco logging
for every generate it prints this:

========================================
Apply LyCORIS model: test-lora
Text encoder weight: 1.0
Unet weight: 1.0
DyLoRA Dim: None
========================================

for example:

import logging
log = logging.getLogger("lycoris")
log.info(f'any info you want to be printed during app startup, but dont print on each generate')
log.warning(f'any warnings')
log.error(f'any errrors')
log.debug(f'any extra info you want anytime you want')
KohakuBlueleaf commented 1 year ago

0f68b65

vladmandic commented 1 year ago

closing.