| 123456789101112131415161718 |
- # -*- coding: utf-8 -*-
- # *****************************************************************************
- # Copyright (C) 2006-2020 Jorgen Stenarson. <jorgen.stenarson@bostream.nu>
- # Copyright (C) 2020 Bassem Girgis. <brgirgis@gmail.com>
- #
- # Distributed under the terms of the BSD License. The full license is in
- # the file COPYING, distributed as part of this software.
- # *****************************************************************************
- from pyreadline3.unicode_helper import ensure_str
- from .logger import LOGGER
- def log(record: str) -> None:
- s = ensure_str(record)
- LOGGER.debug(s)
|