brisalog.cpp File Reference

#include <QtGlobal>
#include <QTime>
#include <iostream>
#include "brisalog.h"
#include "brisaglobal.h"

Go to the source code of this file.

Defines

#define COLOR_DEBUG   "\033[32;1m"
#define COLOR_WARN   "\033[33;1m"
#define COLOR_CRITICAL   "\033[31;1m"
#define COLOR_FATAL   "\033[33;1m"
#define COLOR_RESET   "\033[0m"
#define LOG_WRITE(OUTPUT, COLOR, LEVEL, MSG)

Functions

void brisaLogInitialize (void)

Define Documentation

#define COLOR_CRITICAL   "\033[31;1m"

Definition at line 54 of file brisalog.cpp.

#define COLOR_DEBUG   "\033[32;1m"

Definition at line 52 of file brisalog.cpp.

#define COLOR_FATAL   "\033[33;1m"

Definition at line 55 of file brisalog.cpp.

#define COLOR_RESET   "\033[0m"

Definition at line 56 of file brisalog.cpp.

#define COLOR_WARN   "\033[33;1m"

Definition at line 53 of file brisalog.cpp.

#define LOG_WRITE ( OUTPUT,
COLOR,
LEVEL,
MSG   ) 
Value:
OUTPUT << COLOR << \
                        QTime::currentTime().toString("hhmmsszzz").toStdString() << \
                        " " LEVEL " " << COLOR_RESET << MSG << "\n"

Definition at line 58 of file brisalog.cpp.


Function Documentation

void brisaLogInitialize ( void   ) 

Definition at line 79 of file brisalog.cpp.

Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3