#include <lllogchat.h>
Public Types | |
| enum | ELogLineType { LOG_EMPTY, LOG_LINE, LOG_END } |
Static Public Member Functions | |
| static LLString | timestamp (bool withdate=false) |
| static LLString | makeLogFileName (LLString(filename)) |
| static void | saveHistory (LLString filename, LLString line) |
| static void | loadHistory (LLString filename, void(*callback)(ELogLineType, LLString, void *), void *userdata) |
Definition at line 36 of file lllogchat.h.
| LLString LLLogChat::timestamp | ( | bool | withdate = false |
) | [static] |
Definition at line 48 of file lllogchat.cpp.
References gPacificDaylightTime, llformat(), time_corrected(), tut::tm(), and utc_to_pacific_time().
Referenced by LLFloaterIMPanel::addHistoryLine(), and log_chat_text().


Definition at line 71 of file lllogchat.cpp.
References LLFile::fopen(), llendl, llinfos, and makeLogFileName().
Referenced by LLFloaterIMPanel::addHistoryLine(), and log_chat_text().


| void LLLogChat::loadHistory | ( | LLString | filename, | |
| void(*)(ELogLineType, LLString, void *) | callback, | |||
| void * | userdata | |||
| ) | [static] |
Definition at line 92 of file lllogchat.cpp.
References FALSE, LLFile::fopen(), llendl, llerrs, LOG_EMPTY, LOG_END, LOG_LINE, LOG_RECALL_SIZE, makeLogFileName(), S32, and TRUE.
Referenced by LLFloaterIMPanel::init(), and LLFloaterChat::loadHistory().


1.5.5