2012-02-14 18:04:45 +00:00
|
|
|
#pragma once
|
|
|
|
#include "../../Global.h"
|
|
|
|
#include <cassert>
|
|
|
|
#include <boost/lexical_cast.hpp>
|
|
|
|
#include <boost/format.hpp>
|
|
|
|
#include <boost/range/algorithm.hpp>
|
|
|
|
#include <boost/type_traits.hpp>
|
|
|
|
|
|
|
|
#include <boost/foreach.hpp>
|
|
|
|
#include <boost/thread/tss.hpp>
|
|
|
|
|
2012-06-30 23:48:40 +00:00
|
|
|
#include "Fuzzy.h"
|
|
|
|
|
2012-02-14 18:04:45 +00:00
|
|
|
#include <fstream>
|
|
|
|
#include <queue>
|
|
|
|
|
|
|
|
using boost::format;
|
|
|
|
using boost::str;
|
|
|
|
|
2012-02-22 19:22:11 +00:00
|
|
|
extern CLogger &aiLogger;
|
|
|
|
|
2012-02-14 18:04:45 +00:00
|
|
|
#define INDENT AILogger::Tab ___dummy_ind
|
2012-02-22 19:22:11 +00:00
|
|
|
#define PNLOG(txt) {int i = logger.lvl; while(i--) aiLogger << "\t"; aiLogger << txt << "\n";}
|
|
|
|
#define BNLOG(txt, formattingEls) {int i = logger.lvl; while(i--) aiLogger << "\t"; aiLogger << (boost::format(txt) % formattingEls) << "\n";}
|
2012-02-14 18:04:45 +00:00
|
|
|
//#define LOG_ENTRY PNLOG("Entered " __FUNCTION__)
|
|
|
|
#define LOG_ENTRY
|
|
|
|
|