summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2015-07-31 11:57:39 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-07-31 11:57:39 -0500
commite28fbebc575065461964f5aac8246a3e5cdb9a03 (patch)
tree0f04948d895ca0768ff89e13acece056f4f911c6 /include
parent13eb491e35ae6a99164dec6a62d7f05784c75c11 (diff)
parent1ae762634c317fbcbd98a8c34d2474f7d4b654ed (diff)
Merge "ARI: Rotate log channels." into 13
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/logger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 22151157c..be54f47ce 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -102,6 +102,13 @@ int logger_reload(void);
/*! \brief Reload logger while rotating log files */
int ast_logger_rotate(void);
+/*!
+ * \brief Rotate the specified log channel.
+ *
+ * \param log_channel The log channel to rotate
+ */
+int ast_logger_rotate_channel(const char *log_channel);
+
void __attribute__((format(printf, 5, 6))) ast_queue_log(const char *queuename, const char *callid, const char *agent, const char *event, const char *fmt, ...);
/*!