logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dmmp_log_priority_str - Convert log priority to string.

Arguments

       priority    int. Log priority.

Description

       Convert log priority to string (const char *).

Name

       dmmp_log_priority_str - Convert log priority to string.

Return

       const char *. Valid string are:

       * "ERROR" for DMMP_LOG_PRIORITY_ERROR

       * "WARN " for DMMP_LOG_PRIORITY_WARNING

       * "INFO " for DMMP_LOG_PRIORITY_INFO

       * "DEBUG" for DMMP_LOG_PRIORITY_DEBUG

       * "Invalid argument" for invalid log priority.

March 2018                                    dmmp_log_priority_str                     dmmp_log_priority_str(3)

Synopsis

constchar*dmmp_log_priority_str(intpriority);

See Also