fix(OFF): return singleton even when OFF
This commit is contained in:
parent
36451de3c7
commit
43028ec0d5
1 changed files with 4 additions and 1 deletions
|
|
@ -1505,7 +1505,10 @@ class clutchlog
|
|||
class clutchlog
|
||||
{
|
||||
public:
|
||||
static clutchlog& logger() {}
|
||||
static clutchlog& logger() {
|
||||
static clutchlog instance;
|
||||
return instance;
|
||||
}
|
||||
enum level {critical=0, error=1, warning=2, progress=3, note=4, info=5, debug=6, xdebug=7};
|
||||
enum filename {path, base, dir, dirbase, stem, dirstem};
|
||||
class fmt {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue