Commit bae08967 authored by Piergiorgio Pancino's avatar Piergiorgio Pancino
Browse files

add logging capabiliy for user input

parent 4100d959
......@@ -15,6 +15,7 @@ import functools
import traceback
import gevent
import time
import logging
from ptpython.repl import PythonRepl
......@@ -34,6 +35,7 @@ from bliss.scanning.scan import set_scan_watch_callbacks
from .prompt import BlissPrompt
from .typing_helper import TypingHelper
logger = logging.getLogger(__name__)
# don't patch the event loop on windows
if not is_windows():
......@@ -482,6 +484,7 @@ def embed(*args, **kwargs):
while True:
inp =
logger.debug(f"USER INPUT: {inp}")
except KeyboardInterrupt:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment