#include "OldKorebot.h"
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
Defines | |
#define | VERBOSE 0 |
#define | VERBOSE_ST 0 |
#define | VERBOSE_ST2 0 |
#define | VERBOSE_CMD 0 |
#define | ESC 27 |
#define | COLOR_NORMAL "0" |
#define | COLOR_DEBUG "1;37;47" |
#define | COLOR_ERROR "1;37;45" |
#define | COLOR_INFO "1;37;42" |
#define | COLOR_PANIC "1;37;41" |
Functions | |
void | print (const char *file, int line, const char *function, enum LogLevel level, const char *format,...) |
Decimal | leggiTempo () |
Decimal | leggiTempo3 (struct timeval &tv) |
Decimal | normalizza (Decimal a) |
Variables | |
long | left_ticks_old |
long | right_ticks_old |
#define COLOR_DEBUG "1;37;47" |
#define COLOR_ERROR "1;37;45" |
#define COLOR_INFO "1;37;42" |
#define COLOR_NORMAL "0" |
#define COLOR_PANIC "1;37;41" |
#define ESC 27 |
#define VERBOSE 0 |
#define VERBOSE_CMD 0 |
#define VERBOSE_ST 0 |
#define VERBOSE_ST2 0 |
Decimal leggiTempo | ( | ) |
Decimal leggiTempo3 | ( | struct timeval & | tv | ) |
void print | ( | const char * | file, | |
int | line, | |||
const char * | function, | |||
enum LogLevel | level, | |||
const char * | format, | |||
... | ||||
) |
long left_ticks_old |
long right_ticks_old |