#include <stdio.h>Go to the source code of this file.
Defines | |
| #define | LOG_FLUSH 1 |
| #define | log_info(format,...) |
| #define | log_warning(format,...) |
| #define | log_error(format,...) |
| #define | log_js(format,...) |
| #define | log_debug(format,...) |
| #define | print_backtrace() |
Functions | |
| void | log_open (char *filename) |
| void | log_close () |
| void | _log_info (const char *format,...) |
| void | _log_warning (const char *format,...) |
| void | _log_error (const char *format,...) |
| void | _log_js (const char *format,...) |
| void | _log_debug (const char *format, const char *file, int line, const char *function,...) |
| void | _print_backtrace (FILE *file=LOG_FILE) |
Variables | |
| FILE * | LOG_FILE |
Definition in file logger.h.
| #define log_debug | ( | format, | |||
| ... | ) |
Definition at line 71 of file logger.h.
Referenced by SQLStorage::_checkOverlappingAutoscans(), StringConverter::_convert(), SQLStorage::_purgeEmptyContainers(), SQLStorage::_recursiveRemove(), SQLStorage::_removeObjects(), ContentManager::_rescanDirectory(), ContentManager::addContainerChain(), SQLStorage::addObject(), ContentManager::addObject(), ContentManager::addRecursive(), CdsResourceManager::addResources(), Timer::addTimerSubscriber(), WebRequestHandler::addUpdateIDs(), SQLStorage::autoscanUpdateLM(), SQLStorage::browse(), Session::clearUpdateIDs(), FDIOHandler::close(), UpdateManager::containerChanged(), UpdateManager::containersChanged(), create_request_handler(), CacheObject::debug(), ConfigManager::dumpOptions(), SQLStorage::flushInsertBuffer(), ServeRequestHandler::get_info(), FileRequestHandler::get_info(), ConfigManager::getOption(), ContentManager::invalidateAddTask(), kill_proc(), main(), normalizePath(), Timer::notify(), WebRequestHandler::open(), ServeRequestHandler::open(), FileRequestHandler::open(), FDIOHandler::open(), web::remove::process(), web::containers::process(), web::auth::process(), web::add::process(), web::action::process(), ConnectionManagerService::process_action_request(), ContentDirectoryService::process_action_request(), ContentDirectoryService::process_subscription_request(), FallbackLayout::processCdsObject(), ProcessExecutor::ProcessExecutor(), SingletonManager::registerSingleton(), DBRHash< int >::remove(), AutoscanList::remove(), ContentManager::removeObject(), Timer::removeTimerSubscriber(), zmm::BaseStack< Object * >::resize(), zmm::BaseQueue< Object * >::resize(), CMAddFileTask::run(), run_simple_process(), ContentManager::setAutoscanDirectory(), UpdateManager::shutdown(), Timer::shutdown(), SingletonManager::shutdown(), Server::shutdown(), ContentManager::shutdown(), UpdateManager::staticThreadProc(), IOHandlerBufferHelper::staticThreadProc(), ContentDirectoryService::subscription_update(), UpdateManager::threadProc(), IOHandlerChainer::threadProc(), BufferedIOHandler::threadProc(), SessionManager::timerNotify(), PlayHook::trigger(), Timer::triggerWait(), ActionRequest::update(), SQLStorage::updateAutoscanDirectory(), SQLStorage::updateAutoscanPersistentList(), AutoscanList::updateLMinDB(), SQLStorage::updateObject(), ContentManager::updateObject(), ContentDirectoryService::upnp_action_Browse(), ConnectionManagerService::upnp_action_GetCurrentConnectionIDs(), ConnectionManagerService::upnp_action_GetCurrentConnectionInfo(), ConnectionManagerService::upnp_action_GetProtocolInfo(), ContentDirectoryService::upnp_action_GetSearchCapabilities(), ContentDirectoryService::upnp_action_GetSortCapabilities(), ContentDirectoryService::upnp_action_GetSystemUpdateID(), Server::upnp_actions(), Server::upnp_callback(), Server::upnp_init(), UpnpXML_RenderDeviceDescription(), ConfigManager::validate(), ContentManager::~ContentManager(), zmm::ObjectStack< Element >::~ObjectStack(), SessionManager::~SessionManager(), Timer::~Timer(), and TimerSubscriber::~TimerSubscriber().
| #define log_error | ( | format, | |||
| ... | ) |
Definition at line 69 of file logger.h.
Referenced by SQLStorage::_checkOverlappingAutoscans(), StringConverter::_convert(), ContentManager::_rescanDirectory(), ContentManager::ContentManager(), ContentManager::initLayout(), interfaceToIP(), main(), DHashBase< KT, struct dbo_hash_slot< KT, VT > >::search(), signal_handler(), UpdateManager::threadProc(), ContentManager::threadProc(), BufferedIOHandler::threadProc(), ActionRequest::update(), web_close(), web_get_info(), web_open(), and web_seek().
| #define log_info | ( | format, | |||
| ... | ) |
Definition at line 67 of file logger.h.
Referenced by ConfigManager::ConfigManager(), ConfigManager::createDefaultConfig(), main(), ConfigManager::migrate(), ConfigManager::prepare_udn(), signal_handler(), Server::upnp_callback(), Server::upnp_init(), ConfigManager::validate(), web_get_info(), and web_open().
| #define log_warning | ( | format, | |||
| ... | ) |
Definition at line 68 of file logger.h.
Referenced by ContentManager::_addFile(), ContentManager::_rescanDirectory(), ContentManager::addRecursive(), ContentManager::ContentManager(), ServeRequestHandler::get_info(), HMSToSeconds(), main(), WebRequestHandler::open(), ServeRequestHandler::open(), FallbackLayout::processCdsObject(), signal_handler(), Server::upnp_callback(), and ConfigManager::validate().
| #define print_backtrace | ( | ) |
Definition at line 72 of file logger.h.
Referenced by normalizePath(), SingletonManager::registerSingleton(), and UpdateManager::threadProc().
| void _log_debug | ( | const char * | format, | |
| const char * | file, | |||
| int | line, | |||
| const char * | function, | |||
| ... | ||||
| ) |
Definition at line 132 of file logger.cc.
References FLUSHIT, ConfigManager::isDebugLogging(), LOG_FILE, log_stamp(), and LOGCHECK.
| void _log_error | ( | const char * | format, | |
| ... | ||||
| ) |
| void _log_info | ( | const char * | format, | |
| ... | ||||
| ) |
| void _log_js | ( | const char * | format, | |
| ... | ||||
| ) |
| void _log_warning | ( | const char * | format, | |
| ... | ||||
| ) |
| void _print_backtrace | ( | FILE * | file = LOG_FILE |
) |
Definition at line 153 of file logger.cc.
References ConfigManager::isDebugLogging().
| void log_close | ( | ) |
| void log_open | ( | char * | filename | ) |
| FILE* LOG_FILE |
Definition at line 50 of file logger.cc.
Referenced by _log_debug(), _log_error(), _log_info(), _log_js(), _log_warning(), log_close(), log_open(), and log_stamp().
1.6.1