Revision f82a8605 log.h

View differences:

log.h
22 22
* @param[in] args Parameters to insert into formatted string
23 23
* \note This output is buffered and may not appear immediately on stdout. */
24 24
void janus_vprintf(const char *format, ...) G_GNUC_PRINTF(1, 2);
25

  
25 26
/*! \brief Log initialization
26 27
* \note This should be called before attempting to use the logger. A buffer
27 28
* pool and processing thread are created.
......
32 33
/*! \brief Log destruction */
33 34
void janus_log_destroy(void);
34 35

  
36
/*! \brief Method to check whether stdout logging is enabled
37
 * @returns TRUE if stdout logging is enabled, FALSE otherwise */
38
gboolean janus_log_is_stdout_enabled(void);
39
/*! \brief Method to check whether file-based logging is enabled
40
 * @returns TRUE if file-based logging is enabled, FALSE otherwise */
41
gboolean janus_log_is_logfile_enabled(void);
42
/*! \brief Method to get the path to the log file
43
 * @returns The full path to the log file, or NULL otherwise */
44
char *janus_log_get_logfile_path(void);
45

  
35 46
#endif

Also available in: Unified diff