Skip to content

Commit

Permalink
cleanup: Use module ___name__ for internal loggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbl committed Apr 2, 2020
1 parent a518477 commit 1818b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrdp/parser/rdp/orders/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
GdiPlusCacheNext, GdiPlusCacheEnd, FrameMarker
from .primary import PrimaryContext as Context

LOG = logging.getLogger('pyrdp.fastpath.rdp.orders')
LOG = logging.getLogger(__name__)


def _repr(n):
Expand Down
2 changes: 1 addition & 1 deletion pyrdp/player/gdi/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from PySide2.QtCore import Qt, QPoint
from PySide2.QtGui import QImage, QPainter, QColor, QPixmap, QBrush, QPen, QPolygon

LOG = logging.getLogger(LOGGER_NAMES.PLAYER + '.gdi')
LOG = logging.getLogger(__name__)

SCREEN_BITMAP_SURFACE = 0xFFFF
BITMAPCACHE_SCREEN_ID = 0xFF
Expand Down

0 comments on commit 1818b88

Please sign in to comment.