Home C-Bits Package Documentation Project Page

Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

LogStream.cpp File Reference

#include <exception>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sys/types.h>
#include <time.h>
#include <cbits/LogLevel.h>
#include <cbits/LogStream.h>
#include <cbits/LogStreamManip.h>
#include <cbits/LogStreamExceptions.h>

Include dependency graph for LogStream.cpp:


std::ostream & operator<< (LogStream &ls, LogLevel::Level lvl)
 operator<<. More...

std::ostream & operator<< (std::ostream &os, const DateTime &dt)
 operator<<(). More...

Function Documentation

std::ostream& operator<< std::ostream &    os,
const DateTime &    dt


Define the effect of an DateTime manipulator on a LogStream.

std::ostream& operator<< LogStream &    ls,
LogLevel::Level    lvl


Stream insertion operator for LogLevel. This operator sets the log level of a stream based on the LogLevel value.

Arguments: ---------- os - the stream lvl - the LogLevel

Returns: ---------- Reference to the stream

Exceptions: ---------- none

Generated by
Hosted by