-
Notifications
You must be signed in to change notification settings - Fork 0
/
AliLog.h
31 lines (24 loc) · 1.29 KB
/
AliLog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef ALIMAG_BENCHMARK_ALILOG_H
#define ALIMAG_BENCHMARK_ALILOG_H
// Note: mockup of the original AliLog which contains just enough functions for the rest of imported ALICE code to compile
#include <iostream>
#include <TString.h>
static void AliInfo(const char *t) { std::cout << t << std::endl; }
static void AliInfoF(const char *t, float f) { std::cout << Form(t, f) << std::endl; }
static void AliInfoF(const char *t, const char *s) { std::cout << Form(t, s) << std::endl; }
static void AliInfoF(const char *t, int d, const char *s) { std::cout << Form(t, d, s) << std::endl; }
static void AliWarning(const char *t) { std::cout << t << std::endl; }
static void AliFatal(const char *t) { std::cout << t << std::endl; }
static void AliFatalF(const char *t, ...) { std::cout << t << std::endl; }
static void AliWarningClassF(const char *t, ...) { std::cout << t << std::endl; }
static void AliInfoGeneral(const char *t, ...) { std::cout << t << std::endl; }
static void AliErrorF(const char *t, ...) { std::cout << t << std::endl; }
namespace AliLog {
enum EType_t {
kError,
kFatal
};
}
static void AliMessageGeneral(const char *t, ...) { std::cout << t << std::endl; }
static void AliFatalGeneral(const char *t, ...) { std::cout << t << std::endl; }
#endif //ALIMAG_BENCHMARK_ALILOG_H