#include <iostream>
#include <fstream>
#include <string>
#include <iomanip>
#include <set>
#include <sys/time.h>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
class | Timing |
class | Logger |
Defines | |
#define | MAX_LOG_LINE 3072 |
#define | MAX_HEADER 128 |
#define | LOG_DEBUG 800 |
#define | LOG_INFO 900 |
#define | LOG_WARN 1000 |
#define | LOG_ERROR 1100 |
#define | LOG_FATAL 1200 |
#define | LOG_SOMI 2000 |
#define | LOG_PRINT(level, string) Log.log(level, "[%s:%d] " string, __FILE__, __LINE__) |
#define | LOG_PRINTP(level, string,...) Log.log(level, "[%s:%d] " string, __FILE__, __LINE__, __VA_ARGS__) |
File: Logger.h Project: Robocup Soccer Simulation Team: UvA Trilearn Authors: Jelle Kok Created: 3/3/2000 Last Revision: $ID$ Contents: This file contains the class to log information about the system to any output stream. A range can be specified for which the received log information is printed. Furthermore it is possible to print the time since the timer of the Logger has been restarted.
Changes
Date Author Comment 3/3/2001 Jelle Kok Initial version created
Definition in file Logger.h.
#define LOG_DEBUG 800 |
Definition at line 71 of file Logger.h.
Referenced by action_callback1(), cleanup_callback1(), and ActionScheduler::dispatchAction().
#define LOG_INFO 900 |
Definition at line 72 of file Logger.h.
Referenced by ActionScheduler::ActionScheduler(), and ActionScheduler::~ActionScheduler().
#define LOG_PRINT | ( | level, | |||
string | ) | Log.log(level, "[%s:%d] " string, __FILE__, __LINE__) |
Definition at line 78 of file Logger.h.
Referenced by action_callback1(), ActionScheduler::ActionScheduler(), cleanup_callback1(), and ActionScheduler::~ActionScheduler().
#define LOG_PRINTP | ( | level, | |||
string, | |||||
... | ) | Log.log(level, "[%s:%d] " string, __FILE__, __LINE__, __VA_ARGS__) |
#define MAX_LOG_LINE 3072 |
maximum size of a log message
Definition at line 68 of file Logger.h.
Referenced by Logger::log(), Logger::logFromSignal(), and Logger::logWithTime().