log4cplus
1.1.0
|
Module: Log4CPLUS File: clogger.h Created: 01/2011 Author: Jens Rehsack. More...
#include <log4cplus/config.hxx>
Go to the source code of this file.
Module: Log4CPLUS File: clogger.h Created: 01/2011 Author: Jens Rehsack.
Copyright 2011 Jens Rehsack & Tad E. Smith
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This header defines the C API for log4cplus and the logging macros.
Definition in file clogger.h.
#define L4CP_ALL_LOG_LEVEL TRACE_LOG_LEVEL |
#define L4CP_DEBUG_LOG_LEVEL 10000 |
#define L4CP_ERROR_LOG_LEVEL 40000 |
#define L4CP_FATAL_LOG_LEVEL 50000 |
#define L4CP_INFO_LOG_LEVEL 20000 |
#define L4CP_NOT_SET_LOG_LEVEL -1 |
#define L4CP_OFF_LOG_LEVEL 60000 |
#define L4CP_TRACE_LOG_LEVEL 0 |
#define L4CP_WARN_LOG_LEVEL 30000 |
#define LOG4CPLUS_TEXT | ( | STRING | ) | LOG4CPLUS_TEXT2(STRING) |
Definition at line 64 of file clogger.h.
Referenced by log4cplus::helpers::convertIntegerToString(), log4cplus::DeviceAppender< Device >::DeviceAppender(), log4cplus::helpers::ConvertIntegerToStringHelper< intType, true >::step1(), log4cplus::TraceLogger::TraceLogger(), and log4cplus::TraceLogger::~TraceLogger().
#define LOG4CPLUS_TEXT2 | ( | STRING | ) | STRING |
typedef char log4cplus_char_t |
typedef int loglevel_t |
LOG4CPLUS_EXPORT int log4cplus_basic_configure | ( | void | ) |
LOG4CPLUS_EXPORT int log4cplus_file_configure | ( | const log4cplus_char_t * | pathname | ) |
LOG4CPLUS_EXPORT int log4cplus_logger_exists | ( | const log4cplus_char_t * | name | ) |
LOG4CPLUS_EXPORT int LOG4CPLUS_EXPORT int log4cplus_logger_force_log | ( | const log4cplus_char_t * | name, |
loglevel_t | ll, | ||
const log4cplus_char_t * | msgfmt, | ||
... | |||
) |
LOG4CPLUS_EXPORT int log4cplus_logger_is_enabled_for | ( | const log4cplus_char_t * | name, |
loglevel_t | ll | ||
) |
LOG4CPLUS_EXPORT int log4cplus_logger_log | ( | const log4cplus_char_t * | name, |
loglevel_t | ll, | ||
const log4cplus_char_t * | msgfmt, | ||
... | |||
) |
LOG4CPLUS_EXPORT void log4cplus_shutdown | ( | void | ) |
LOG4CPLUS_EXPORT int log4cplus_str_configure | ( | const log4cplus_char_t * | config | ) |