-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStderrLog.h
More file actions
32 lines (25 loc) · 712 Bytes
/
StderrLog.h
File metadata and controls
32 lines (25 loc) · 712 Bytes
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
32
/**
* StderrLog.h
*
* Rewritten / author: 2016-02-19 / mrmisticismo@hotmail.com
* Published / author: 2005-08-12 / grymse@alhem.net
* Copyright (C) 2015-2018 Michael Griffin
* Copyright (C) 2001-2006 Anders Hedstrom
* This program is made available under the terms of the GNU GPL.
*/
#ifndef _STDERRLOG_H_SQLITE
#define _STDERRLOG_H_SQLITE
#include "IError.h"
#include <string>
namespace SQLW
{
class Database;
/** Log class writing to standard error. */
class StderrLog : public IError
{
public:
void databaseError(Database&, const std::string&);
void databaseError(Database&, Query&, const std::string&);
};
} // namespace SQLW {
#endif // _STDERRLOG_H