Gearman Developer Documentation

libgearman/log.h
Go to the documentation of this file.
00001 /* Gearman server and library
00002  * Copyright (C) 2008 Brian Aker, Eric Day
00003  * All rights reserved.
00004  *
00005  * Use and distribution licensed under the BSD license.  See
00006  * the COPYING file in the parent directory for full text.
00007  */
00008 
00014 #ifndef __GEARMAN_LOG_H__
00015 #define __GEARMAN_LOG_H__
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 #ifdef GEARMAN_CORE
00022 
00038 GEARMAN_INTERNAL_API
00039 void gearman_log(gearman_universal_st *gearman, gearman_verbose_t verbose,
00040                  const char *format, va_list args);
00041 
00045 GEARMAN_INTERNAL_API
00046 void gearman_log_fatal(gearman_universal_st *gearman, const char *format, ...);
00047 
00051 GEARMAN_INTERNAL_API
00052 void gearman_log_error(gearman_universal_st *gearman, const char *format, ...);
00053 
00057 GEARMAN_INTERNAL_API
00058 void gearman_log_info(gearman_universal_st *gearman, const char *format, ...);
00059 
00063 GEARMAN_INTERNAL_API
00064 void gearman_log_debug(gearman_universal_st *gearman, const char *format, ...);
00065 
00069 GEARMAN_INTERNAL_API
00070 void gearman_log_crazy(gearman_universal_st *gearman, const char *format, ...);
00071 
00072 #endif /* GEARMAN_CORE */
00073 
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079 
00080 #endif /* __GEARMAN_LOG_H__ */