epicsarchiver.common.command ============================ .. py:module:: epicsarchiver.common.command .. autoapi-nested-parse:: Shared Command methods module. Attributes ---------- .. autoapisummary:: epicsarchiver.common.command.LOG Functions --------- .. autoapisummary:: epicsarchiver.common.command.handle_debug Module Contents --------------- .. py:data:: LOG :type: logging.Logger .. py:function:: handle_debug(_ctx: click.core.Context | None, _param: click.core.Option | click.core.Parameter | None, debug: bool | int | str) -> bool | int | str Turn on DEBUG logs, if asked otherwise INFO default. :param _ctx: click context :type _ctx: click.core.Context | None :param _param: click paramters to pass through :type _param: click.core.Option | click.core.Parameter | None :param debug: debug note :type debug: bool | int | str :returns: debug passed through :rtype: bool | int | str)