Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -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.