Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
blob: dfff76a06c63556378f44f8edffb76a48befcf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
from __future__ import annotations

import logging

from enum import Enum

logging.basicConfig(format="[%(levelname)s]: %(message)s", level=logging.INFO)
log = logging.getLogger("qtforpython")


class LogLevel(Enum):
    QUIET = 1
    INFO = 2
    VERBOSE = 3