mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
SYSLOG_NDELAY = 0x08, /// don't delay open
|
||||
SYSLOG_PERROR = 0x20 /// log to stderr as well (not supported on all platforms)
|
||||
};
|
||||
|
||||
|
||||
enum Facility
|
||||
{
|
||||
SYSLOG_KERN = ( 0<<3), /// kernel messages
|
||||
@@ -62,22 +62,22 @@ public:
|
||||
SYSLOG_LOCAL6 = (22<<3), /// reserved for local use
|
||||
SYSLOG_LOCAL7 = (23<<3) /// reserved for local use
|
||||
};
|
||||
|
||||
|
||||
SyslogChannel();
|
||||
/// Creates a SyslogChannel.
|
||||
|
||||
|
||||
SyslogChannel(const std::string& name, int options = SYSLOG_CONS, int facility = SYSLOG_USER);
|
||||
/// Creates a SyslogChannel with the given name, options and facility.
|
||||
|
||||
|
||||
void open();
|
||||
/// Opens the SyslogChannel.
|
||||
|
||||
|
||||
void close();
|
||||
/// Closes the SyslogChannel.
|
||||
|
||||
|
||||
void log(const Message& msg);
|
||||
/// Sens the message's text to the syslog service.
|
||||
|
||||
|
||||
void setProperty(const std::string& name, const std::string& value);
|
||||
/// Sets the property with the given value.
|
||||
///
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
/// * name: The name used to identify the source of log messages.
|
||||
/// * facility: The facility added to each log message. See the Facility enumeration for a list of supported values.
|
||||
/// * options: The logging options. See the Option enumeration for a list of supported values.
|
||||
|
||||
|
||||
std::string getProperty(const std::string& name) const;
|
||||
/// Returns the value of the property with the given name.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user