2
2
// Module: Log4cplus
3
3
// File: asyncappender.h
4
4
// Created: 1/2009
5
- // Author: Vaclav Haisman
5
+ // Author: Vaclav Haisman
6
6
//
7
7
//
8
8
// Copyright (C) 2009-2015, Vaclav Haisman. All rights reserved.
9
- //
9
+ //
10
10
// Redistribution and use in source and binary forms, with or without modifica-
11
11
// tion, are permitted provided that the following conditions are met:
12
- //
12
+ //
13
13
// 1. Redistributions of source code must retain the above copyright notice,
14
14
// this list of conditions and the following disclaimer.
15
- //
15
+ //
16
16
// 2. Redistributions in binary form must reproduce the above copyright notice,
17
17
// this list of conditions and the following disclaimer in the documentation
18
18
// and/or other materials provided with the distribution.
19
- //
19
+ //
20
20
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
21
21
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22
22
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27
27
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
28
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29
29
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
-
31
-
30
+
31
+
32
32
//
33
33
34
34
/* * @file */
@@ -54,6 +54,13 @@ namespace log4cplus
54
54
{
55
55
56
56
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
+ */
57
64
class LOG4CPLUS_EXPORT AsyncAppender
58
65
: public Appender
59
66
, public helpers::AppenderAttachableImpl
0 commit comments