mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -40,15 +40,15 @@ class Foundation_API SimpleFileChannel: public Channel
|
||||
/// by a newline.
|
||||
///
|
||||
/// Chain this channel to a FormattingChannel with an
|
||||
/// appropriate Formatter to control what is in the text.
|
||||
/// appropriate Formatter to control what is in the text.
|
||||
///
|
||||
/// Log file rotation based on log file size is supported.
|
||||
///
|
||||
/// If rotation is enabled, the SimpleFileChannel will
|
||||
/// If rotation is enabled, the SimpleFileChannel will
|
||||
/// alternate between two log files. If the size of
|
||||
/// the primary log file exceeds a specified limit,
|
||||
/// the secondary log file will be used, and vice
|
||||
/// versa.
|
||||
/// versa.
|
||||
///
|
||||
/// Log rotation is configured with the "rotation"
|
||||
/// property, which supports the following values:
|
||||
@@ -88,20 +88,20 @@ public:
|
||||
|
||||
void open();
|
||||
/// Opens the FileChannel and creates the log file if necessary.
|
||||
|
||||
|
||||
void close();
|
||||
/// Closes the FileChannel.
|
||||
|
||||
void log(const Message& msg);
|
||||
/// Logs the given message to the file.
|
||||
|
||||
|
||||
void setProperty(const std::string& name, const std::string& value);
|
||||
/// Sets the property with the given name.
|
||||
///
|
||||
/// Sets the property with the given name.
|
||||
///
|
||||
/// The following properties are supported:
|
||||
/// * path: The primary log file's path.
|
||||
/// * secondaryPath: The secondary log file's path.
|
||||
/// * rotation: The log file's rotation mode. See the
|
||||
/// * rotation: The log file's rotation mode. See the
|
||||
/// SimpleFileChannel class for details.
|
||||
/// * flush: Specifies whether messages are immediately
|
||||
/// flushed to the log file. See the SimpleFileChannel
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
|
||||
Timestamp creationDate() const;
|
||||
/// Returns the log file's creation date.
|
||||
|
||||
|
||||
UInt64 size() const;
|
||||
/// Returns the log file's current size in bytes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user