#include "linden_common.h"
#include "llerror.h"
#include "llerrorcontrol.h"
#include <cctype>
#include <sstream>
#include <syslog.h>
#include <vector>
#include "llapp.h"
#include "llapr.h"
#include "llfile.h"
#include "llfixedbuffer.h"
#include "lllivefile.h"
#include "llsd.h"
#include "llsdserialize.h"
#include "llstl.h"
Include dependency graph for llerror.cpp:
Go to the source code of this file.
Copyright (c) 2006-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llerror.cpp.
typedef std::vector<LLError::CallSite*> CallSiteVector [static] |
Definition at line 305 of file llerror.cpp.
typedef std::map<std::string, LLError::ELevel> LevelMap [static] |
Definition at line 303 of file llerror.cpp.
typedef std::vector<LLError::Recorder*> Recorders [static] |
Definition at line 304 of file llerror.cpp.
bool @8::checkLevelMap | ( | const LevelMap & | map, | |
const std::string & | key, | |||
LLError::ELevel & | level | |||
) | [static] |
std::string @4::className | ( | const std::type_info & | type | ) | [static] |
Definition at line 184 of file llerror.cpp.
References p.
Referenced by LLError::Log::flush(), and LLError::Log::shouldLog().
void @5::commonInit | ( | const std::string & | dir | ) | [static] |
Definition at line 496 of file llerror.cpp.
References LLError::addRecorder(), LLError::crashAndLoop(), e, LLError::LEVEL_INFO, LLError::Settings::reset(), LLError::setDefaultLevel(), LLError::setFatalFunction(), LLError::setTimeFunction(), shouldLogToStderr(), stderrLogWantsTime(), and LLError::utcTime().
Referenced by LLError::initForApplication(), and LLError::initForServer().
LLError::ELevel @6::decodeLevel | ( | std::string | name | ) | [static] |
Definition at line 590 of file llerror.cpp.
References i, LLError::LEVEL_ALL, LLError::LEVEL_DEBUG, LLError::LEVEL_ERROR, LLError::LEVEL_INFO, LLError::LEVEL_NONE, LLError::LEVEL_WARN, llendl, and llwarns.
Referenced by LLError::configure().
std::string @4::functionName | ( | const std::string & | preprocessor_name | ) | [static] |
Definition at line 224 of file llerror.cpp.
References p.
Referenced by LLError::Log::flush(), and LLError::Log::shouldLog().
void @6::setLevels | ( | LevelMap & | map, | |
const LLSD & | list, | |||
LLError::ELevel | level | |||
) | [static] |
bool @5::shouldLogToStderr | ( | ) | [static] |
bool @5::stderrLogWantsTime | ( | ) | [static] |
void @7::writeToRecorders | ( | LLError::ELevel | level, | |
const std::string & | message | |||
) | [static] |
Definition at line 744 of file llerror.cpp.
References LLError::Settings::get(), i, NULL, r, and s.
Referenced by LLError::Log::flush().
Definition at line 320 of file llerror.cpp.
std::ostringstream messageStream |
Definition at line 310 of file llerror.cpp.
bool messageStreamInUse |
Definition at line 311 of file llerror.cpp.
llofstream mFile |
Definition at line 129 of file llerror.cpp.
std::string mIdentity |
Definition at line 95 of file llerror.cpp.
bool mLocked |
Definition at line 823 of file llerror.cpp.
bool mOK |
Definition at line 824 of file llerror.cpp.
bool mTimestamp |
Definition at line 147 of file llerror.cpp.