torchquad icon indicating copy to clipboard operation
torchquad copied to clipboard

Logging with loguru not implemented correctly

Open gomezzz opened this issue 2 years ago • 0 comments
trafficstars

Issue

Problem Description

Current usage may overwrite loguru logger in other applications

Expected Behavior

Not interfering with user's logging

What Needs to be Done

Correct implementation is described here and here

How Can It Be Tested or Reproduced

Something along the lines of

from loguru import logger
logger.info("This should be printed")
import torchquad as tq
logger.info("This may not get printed I think")

gomezzz avatar Jul 03 '23 15:07 gomezzz