# -*- coding: utf-8 -*- # ***************************************************************************** # Copyright (C) 2006-2020 Jorgen Stenarson. # Copyright (C) 2020 Bassem Girgis. # # 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)