8000 Add some documentation to asyncappender.h. · log4cplus/log4cplus@d025775 · GitHub
[go: up one dir, main page]

Skip to content

Commit d025775

Browse files
committed
Add some documentation to asyncappender.h.
1 parent 0a344ce commit d025775

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

include/log4cplus/asyncappender.h

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
// Module: Log4cplus
33
// File: asyncappender.h
44
// Created: 1/2009
5-
// Author: Vaclav Haisman
5+
// Author: Vaclav Haisman
66
//
77
//
88
// Copyright (C) 2009-2015, Vaclav Haisman. All rights reserved.
9-
//
9+
//
1010
// Redistribution and use in source and binary forms, with or without modifica-
1111
// tion, are permitted provided that the following conditions are met:
12-
//
12+
//
1313
// 1. Redistributions of source code must retain the above copyright notice,
1414
// this list of conditions and the following disclaimer.
15-
//
15+
//
1616
// 2. Redistributions in binary form must reproduce the above copyright notice,
1717
// this list of conditions and the following disclaimer in the documentation
1818
// and/or other materials provided with the distribution.
19-
//
19+
//
2020
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
2121
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
2222
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
@@ -27,8 +27,8 @@
2727
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2828
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2929
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30-
31-
30+
31+
3232
//
3333

3434
/** @file */
@@ -54,6 +54,13 @@ namespace log4cplus
5454
{
5555

5656

57+
/**
58+
This `Appender` is a wrapper to which other appenders can be attached. The
59+
attached appendres are then appended to from a separate thread which reads
60+
events appended to this appender from a queue.
61+
62+
\sa helpers::AppenderAttachableImpl
63+
*/
5764
class LOG4CPLUS_EXPORT AsyncAppender
5865
: public Appender
5966
, public helpers::AppenderAttachableImpl

0 commit comments

Comments
 (0)
0