gearman_verbose_t.rst 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ===========================================
  2. Verbose levels for logs (gearman_verbose_t)
  3. ===========================================
  4. --------
  5. SYNOPSIS
  6. --------
  7. #include <libgearman/gearman.h>
  8. .. c:type:: gearman_verbose_t
  9. .. c:function:: const char *gearman_verbose_name(gearman_verbose_t verbose)
  10. Link with -lgearman
  11. -----------
  12. DESCRIPTION
  13. -----------
  14. :c:func:`gearman_verbose_name` takes a :c:type:`gearman_verbose_t` and returns a character representation of it.
  15. Possible values of :c:type:`gearman_verbose_t`:
  16. .. c:type:: GEARMAN_VERBOSE_FATAL
  17. Fatal errors.
  18. .. c:type:: GEARMAN_VERBOSE_ERROR
  19. All errors.
  20. .. c:type:: GEARMAN_VERBOSE_INFO
  21. General information state about any events.
  22. .. c:type:: GEARMAN_VERBOSE_DEBUG
  23. Information calls left in the code for debugging events.
  24. ------------
  25. RETURN VALUE
  26. ------------
  27. A character string representing the verbose leval.
  28. ----
  29. HOME
  30. ----
  31. To find out more information please check:
  32. `https://gearman.org/gearmand/ <https://gearman.org/gearmand/>`_
  33. --------
  34. SEE ALSO
  35. --------
  36. :manpage:`gearmand(8)` :manpage:`libgearman(3)`