Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* Copyright (C) 2020, 2021 by Andreas Theofilu <andreas@theosys.at>
|
2 |
* Copyright (C) 2020 to 2024 by Andreas Theofilu <andreas@theosys.at>
|
3 |
*
|
3 |
*
|
4 |
* This program is free software; you can redistribute it and/or modify
|
4 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* it under the terms of the GNU General Public License as published by
|
5 |
* it under the terms of the GNU General Public License as published by
|
6 |
* the Free Software Foundation; either version 3 of the License, or
|
6 |
* the Free Software Foundation; either version 3 of the License, or
|
7 |
* (at your option) any later version.
|
7 |
* (at your option) any later version.
|
Line 157... |
Line 157... |
157 |
static std::ostream& append(int lv, std::ostream& os);
|
157 |
static std::ostream& append(int lv, std::ostream& os);
|
158 |
static std::string append(int lv);
|
158 |
static std::string append(int lv);
|
159 |
static TStreamError* Current();
|
159 |
static TStreamError* Current();
|
160 |
static TStreamError* Current(threadID_t tid);
|
160 |
static TStreamError* Current(threadID_t tid);
|
161 |
static void clear() { mHaveError = false; msError.clear(); mErrType = TERRNONE; }
|
161 |
static void clear() { mHaveError = false; msError.clear(); mErrType = TERRNONE; }
|
162 |
static void logHex(char *str, size_t size);
|
162 |
static void logHex(const char *str, size_t size);
|
163 |
const TError& operator=(const TError& ref);
|
163 |
const TError& operator=(const TError& ref);
|
164 |
static void displayMessage(const std::string& msg);
|
164 |
static void displayMessage(const std::string& msg);
|
165 |
|
165 |
|
166 |
protected:
|
166 |
protected:
|
167 |
static std::string strToHex(const char *str, size_t size, int width, bool format, int indent);
|
167 |
static std::string strToHex(const char *str, size_t size, int width, bool format, int indent);
|