Skip to content

Question duplicate the warning (hashtag1061) #12

Description

@vikramsubramanian

Hi, I have some code that does warnings.warn.
I wonder if there is some setting in loguru that would detect warnings.warn raised in other part of the code and record it in the log file? Thanks.
Or I have to do both? Like

from loguru import logger
import warning
warning.warn('XXX')
logger.warn('XXX')

)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions