mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
39 lines
681 B
Python
39 lines
681 B
Python
import logging.handlers
|
|
from typing import Any, Optional
|
|
|
|
_logger: Any
|
|
|
|
def log(logger, level, prefix, msg, depth: Optional[Any] = ...) -> None: ...
|
|
|
|
class PostgreSQLHandler(logging.Handler):
|
|
def emit(self, record) -> None: ...
|
|
|
|
BLACK: Any
|
|
RED: Any
|
|
GREEN: Any
|
|
YELLOW: Any
|
|
BLUE: Any
|
|
MAGENTA: Any
|
|
CYAN: Any
|
|
WHITE: Any
|
|
_NOTHING: Any
|
|
DEFAULT: Any
|
|
RESET_SEQ: str
|
|
COLOR_SEQ: str
|
|
BOLD_SEQ: str
|
|
COLOR_PATTERN: Any
|
|
LEVEL_COLOR_MAPPING: Any
|
|
|
|
class DBFormatter(logging.Formatter):
|
|
def format(self, record): ...
|
|
|
|
class ColoredFormatter(DBFormatter):
|
|
def format(self, record): ...
|
|
|
|
_logger_init: bool
|
|
|
|
def init_logger(): ...
|
|
|
|
DEFAULT_LOG_CONFIGURATION: Any
|
|
PSEUDOCONFIG_MAPPER: Any
|