arkouda.logger ============== .. py:module:: arkouda.logger Classes ------- .. autoapisummary:: arkouda.logger.LogLevel Functions --------- .. autoapisummary:: arkouda.logger.disableVerbose arkouda.logger.enableVerbose arkouda.logger.write_log Module Contents --------------- .. py:class:: LogLevel Bases: :py:obj:`enum.Enum` Generic enumeration. Derive from this class to define new enumerations. .. py:attribute:: CRITICAL :value: 'CRITICAL' .. py:attribute:: DEBUG :value: 'DEBUG' .. py:attribute:: ERROR :value: 'ERROR' .. py:attribute:: INFO :value: 'INFO' .. py:attribute:: WARN :value: 'WARN' .. py:function:: disableVerbose(logLevel: LogLevel = LogLevel.INFO) -> None Disables verbose logging (DEBUG log level) for all ArkoudaLoggers, setting the log level for each to the logLevel parameter :param logLevel: The new log level, defaultts to LogLevel.INFO :type logLevel: LogLevel :raises TypeError: Raised if logLevel is not a LogLevel enum .. py:function:: enableVerbose() -> None Enables verbose logging (DEBUG log level) for all ArkoudaLoggers .. py:function:: write_log(log_msg: str, tag: str = 'ClientGeneratedLog', log_lvl: LogLevel = LogLevel.INFO) Allows the user to write custom logs. :param log_msg: The message to be added to the server log :type log_msg: str :param tag: The tag to use in the log. This takes the place of the server function name. Allows for easy identification of custom logs. Defaults to "ClientGeneratedLog" :type tag: str :param log_lvl: The type of log to be written Defaults to LogLevel.INFO :type log_lvl: LogLevel .. seealso:: :obj:`LogLevel`