MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrUtil
lgrPrint.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#ifndef lgrPrint_H_
10
#define lgrPrint_H_
11
12
#include "
lgrUtil.h
"
13
#include <stdio.h>
14
#include <ostream>
15
#include "
lgrPopupBox.h
"
16
17
class
DtString;
18
19
namespace
MAKLogger
20
{
21
24
class
DT_DLL_LGRUTIL
DtLgrPrinter
25
{
26
public
:
27
28
29
enum
MessageLevelsEnum
30
{
32
Critical = 0,
33
35
Warning = 1,
36
40
Info = 2,
41
43
Verbose = 3,
44
46
Debug = 4
47
};
48
49
static
void
setMessageLevel(MessageLevelsEnum);
50
static
MessageLevelsEnum messageLevel();
51
53
static
bool
messageWillPrint(
DtLgrPrinter::MessageLevelsEnum
);
54
56
static
void
critical(
const
DtString& msg);
57
59
static
void
warning(
const
DtString& msg);
60
62
static
void
info(
const
DtString& msg);
63
65
static
void
verbose(
const
DtString& msg);
66
68
static
void
debug(
const
DtString& msg);
69
71
static
void
message(
DtLgrPrinter::MessageLevelsEnum
,
const
DtString&);
72
74
static
void (*messageFunction)(
const
DtString&);
75
76
static
void
DtPrintLineToOutput(
const
DtString&);
77
static
void
DtPrintToOutput(
const
DtString&);
78
79
static
void
outputMutex(
bool
lock);
80
};
81
82
}
83
84
#endif
Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)