# Coverage for server/parts/log.py : 100%

## 7 statements 7 run 0 missing 4 excluded 0 partial

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 -*-

2 from __future__ import annotations

3

4# -- stdlib --

5 from typing import TYPE_CHECKING

6 import logging

7

8# -- third party --

9# -- own --

10# -- typing --

11 if TYPE_CHECKING:

12 from server.core import Core # noqa: F401

13

14

15# -- code --

16 log = logging.getLogger('server.parts.log')

17

18

19 class Log(object):

20 def __init__(self, core: Core):

21 self.core = core

22

23 def __repr__(self) -> str:

24 return self.__class__.__name__