libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
util
VerboseLogFormat.h
1
/*
2
** libutil++
3
** $Id: VerboseLogFormat.h 1653 2016-02-28 19:54:59Z sella $
4
** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5
** Released under the LGPL Version 2.1 License.
6
** http://www.digitalgenesis.com
7
*/
8
9
#ifndef __libutilxx__sella__util__VerboseLogFormat_H__
10
#define __libutilxx__sella__util__VerboseLogFormat_H__
11
12
#include "../../common.h"
13
#include "../Exception.h"
14
#include "LogFormat.h"
15
16
#include <sys/time.h>
17
18
#include <string>
19
20
namespace
sella {
21
namespace
util {
22
class
VerboseLogFormat;
23
class
Log;
24
}
25
}
26
27
class
sella::util::VerboseLogFormat
:
public
LogFormat
{
28
friend
class
Log
;
29
30
public
:
31
VerboseLogFormat
(
const
std::string &stamp = DefaultStampFormat,
bool
micro =
true
)
throw
();
32
33
virtual
sella::util::VerboseLogFormat
* clone(
void
)
const
throw
();
34
35
protected
:
36
virtual
const
std::string format(
int
priority,
const
char
*stamp,
const
char
*func,
const
char
*file,
int
line,
const
sella::Exception
&e,
const
char
*message)
throw
();
37
virtual
const
std::string format(
int
priority,
const
char
*stamp,
const
char
*func,
const
char
*file,
int
line,
const
char
*message)
throw
();
38
virtual
const
std::string format(
int
priority,
const
char
*stamp,
const
char
*func,
const
char
*file,
int
line,
const
char
*option,
const
char
*message)
throw
();
39
};
40
41
#endif
42
43
/*
44
** vim: noet ts=3 sw=3
45
*/
sella::util::LogFormat
Definition:
LogFormat.h:29
sella::Exception
Definition:
Exception.h:70
sella::util::VerboseLogFormat
Definition:
VerboseLogFormat.h:27
sella::util::Log
Definition:
Log.h:202
Generated on Sat Sep 2 2017 11:44:22 for libutil++ by
1.8.5