#include <ctime>
#include <sys/time.h>
#include <unistd.h>
#include <sstream>
#include <iostream>
#include "slogcxx.h"
Namespaces | |
namespace | std |
Defines | |
#define | TIME_T float |
Allow the definition of time to be tweaked. Floats should be enough for now. | |
Functions | |
Slog & | operator<< (Slog &s, Slog &(*manip)(Slog &)) |
Allow the use of iomanipulators. | |
Slog & | endl (Slog &s) |
endl terminates a log... similar to std::endl | |
Slog & | incl (Slog &s) |
make the message LESS likely to show up | |
Slog & | decl (Slog &s) |
make the message MORE likely to show up | |
Slog & | operator<< (Slog &s, const int &r) |
Allow logging of ints. | |
Slog & | operator<< (Slog &s, const size_t &r) |
32/64 bit safe unsigned numbers | |
Slog & | operator<< (Slog &s, const char &c) |
Log insertion of a single character. | |
Slog & | operator<< (Slog &s, const short &sh) |
Insert a short integer. | |
Slog & | operator<< (Slog &s, const long &l) |
Insert a long integer. | |
Slog & | operator<< (Slog &s, const float &f) |
Insert a 4 byte float. | |
Slog & | operator<< (Slog &s, const double &d) |
Insert a 8 byte float. | |
Slog & | operator<< (Slog &s, const char *str) |
Allow logging of C strings. | |
Slog & | operator<< (Slog &s, const std::string &str) |
Log a string. | |
Slog & | operator<< (Slog &s, const Where &w) |
Insert where object. |
Copyright (c) 2006 Kurt Schwehr Data Visualization Research Lab, Center for Coastal and Ocean Mapping University of New Hampshire. http://ccom.unh.edu
Optionally for XML mode, look for the closing tag of the previous log and clip it so the logs blend.