|
libassa
3.5.1
|
#include <StdOutLogger.h>
Public Member Functions | |
| StdOutLogger () | |
| virtual int | log_open (u_long groups_) |
| Open StdErr Logger. More... | |
| virtual int | log_close (void) |
| virtual int | log_msg (Group g_, size_t indent_level_, const string &func_name_, size_t expected_sz_, const char *fmt_, va_list) |
| virtual int | log_func (Group g_, size_t indent_level_, const string &func_name_, marker_t type_) |
| virtual void | log_resync () |
Public Member Functions inherited from ASSA::Logger_Impl | |
| Logger_Impl () | |
| virtual | ~Logger_Impl () |
| void | enable_group (Group g_) |
| void | disable_group (Group g_) |
| void | enable_groups (u_long g_) |
| void | disable_groups (u_long g_) |
| void | enable_all_groups (void) |
| void | disable_all_groups (void) |
| bool | group_enabled (Group g_) const |
| void | enable_timestamp (void) |
| void | disable_timestamp (void) |
| bool | timestamp_enabled (void) const |
| void | set_timezone (int zone_) |
| void | set_indent_step (u_short step_) |
| u_short | get_indent_step (void) const |
| virtual int | log_open (const char *logfname_, u_long groups_, u_long maxsize_) |
| Open File Logger. More... | |
| virtual int | log_open (const char *appname_, const char *logfname_, u_long groups_, u_long maxsize_, Reactor *reactor_) |
| Open connection with Log Server. More... | |
Private Member Functions | |
| StdOutLogger (const StdOutLogger &) | |
| StdOutLogger & | operator= (const StdOutLogger &) |
| no cloning More... | |
Additional Inherited Members | |
Static Public Attributes inherited from ASSA::Logger_Impl | |
| static const unsigned int | LOGGER_MAXLINE = 6660 |
| Maximum length of the formatted message. More... | |
Protected Member Functions inherited from ASSA::Logger_Impl | |
| virtual u_short | add_timestamp (ostream &sink_) |
| virtual u_short | indent_func_name (ostream &sink_, const string &funcname_, size_t indent_level_, marker_t type_) |
| char * | format_msg (size_t expected_sz_, const char *fmt_, va_list vap_, bool &release_) |
| Format and put the message in the buffer. More... | |
Protected Attributes inherited from ASSA::Logger_Impl | |
| u_short | m_indent_step |
| Indentation step. More... | |
| u_long | m_groups |
| Enabled groups. More... | |
| string | m_logfname |
| Log file name. More... | |
| bool | m_tmflg |
| Timestamp on/off flag. More... | |
| int | m_tz |
| Timezone: 0-GMT, 1-Local. More... | |
Static Protected Attributes inherited from ASSA::Logger_Impl | |
| static char | m_msgbuf [LOGGER_MAXLINE] |
| Static buffer for formatted message. More... | |
Definition at line 32 of file StdOutLogger.h.
|
inline |
Definition at line 35 of file StdOutLogger.h.
References log_close(), log_func(), log_msg(), log_open(), log_resync(), and operator=().
|
private |
|
inlinevirtual |
Implements ASSA::Logger_Impl.
Definition at line 70 of file StdOutLogger.h.
References log_resync().
Referenced by log_open(), and StdOutLogger().
|
virtual |
Implements ASSA::Logger_Impl.
Definition at line 60 of file StdOutLogger.cpp.
References ASSA::Logger_Impl::add_timestamp(), ASSA::FUNC_ENTRY, ASSA::FUNC_EXIT, ASSA::Logger_Impl::group_enabled(), and ASSA::Logger_Impl::indent_func_name().
Referenced by log_msg(), and StdOutLogger().
|
virtual |
Implements ASSA::Logger_Impl.
Definition at line 28 of file StdOutLogger.cpp.
References ASSA::Logger_Impl::add_timestamp(), ASSA::Logger_Impl::format_msg(), ASSA::FUNC_MSG, ASSA::Logger_Impl::group_enabled(), ASSA::Logger_Impl::indent_func_name(), and log_func().
Referenced by StdOutLogger().
|
inlinevirtual |
Open StdErr Logger.
Reimplemented from ASSA::Logger_Impl.
Definition at line 62 of file StdOutLogger.h.
References log_close(), and ASSA::Logger_Impl::m_groups.
Referenced by StdOutLogger().
|
inlinevirtual |
Reimplemented from ASSA::Logger_Impl.
Definition at line 77 of file StdOutLogger.h.
References ASSA::flush().
Referenced by log_close(), and StdOutLogger().
|
private |
no cloning
Referenced by StdOutLogger().
1.8.13