17 lines
435 B
C++
17 lines
435 B
C++
// Copyright 2019-2022 The Hush developers
|
|
// Released under the GPLv3
|
|
#include "SimpleLogger.h"
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
SimpleLogger sl = SimpleLogger("/tmp/simplelog.log");
|
|
sl.logInfo("test info");
|
|
sl.logDebug("test debug");
|
|
sl.logSuccess("test success");
|
|
sl.logWarning("test warning");
|
|
sl.logError("test error");
|
|
sl.logFatal("test fatal");
|
|
sl.logCritical("test critical");
|
|
return 0;
|
|
}
|