Coverage for server/parts/log.py : 100%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2from __future__ import annotations
4# -- stdlib --
5from typing import TYPE_CHECKING
6import logging
8# -- third party --
9# -- own --
10# -- typing --
11if TYPE_CHECKING:
12 from server.core import Core # noqa: F401
15# -- code --
16log = logging.getLogger('server.parts.log')
19class Log(object):
20 def __init__(self, core: Core):
21 self.core = core
23 def __repr__(self) -> str:
24 return self.__class__.__name__