Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
Public Member Functions | List of all members
LogManager Class Reference

logging info into file More...

#include <log_manager.h>

Collaboration diagram for LogManager:
Collaboration graph

Public Member Functions

 LogManager (const char *fileName)
 
void operator<< (const char *data)
 
void operator<< (std::string data)
 

Detailed Description

logging info into file

LogManager create file and append it with input data data

Constructor & Destructor Documentation

LogManager::LogManager ( const char *  fileName)

create log file, if fileName is null no data will be written

Parameters
fileNamepath to file (could be null)

Member Function Documentation

void LogManager::operator<< ( const char *  data)

append to log new info

Parameters
datalogging information
void LogManager::operator<< ( std::string  data)

append to log new info

Parameters
datalogging information

The documentation for this class was generated from the following file: