Anope IRC Services  Version 2.0
Functions
logger.cpp File Reference
#include "services.h"
#include "modules.h"
#include "commands.h"
#include "channels.h"
#include "users.h"
#include "logger.h"
#include "config.h"
#include "bots.h"
#include "servers.h"
#include "uplink.h"
#include "protocol.h"
#include <sys/time.h>
#include <unistd.h>
Include dependency graph for logger.cpp:

Go to the source code of this file.

Functions

static Anope::string GetTimeStamp ()
 
static Anope::string CreateLogName (const Anope::string &file, time_t t=Anope::CurTime)
 

Function Documentation

static Anope::string CreateLogName ( const Anope::string file,
time_t  t = Anope::CurTime 
)
inlinestatic

Definition at line 55 of file logger.cpp.

References Anope::LogDir, and Anope::strftime().

Referenced by LogInfo::OpenLogFiles(), and LogInfo::ProcessMessage().

static Anope::string GetTimeStamp ( )
static

Definition at line 30 of file logger.cpp.

References Anope::CurTime, Anope::Debug, and Anope::strftime().

Referenced by LogInfo::ProcessMessage(), and Log::~Log().