13df26c3
Steven
Static Logger cla...
|
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
|
#include "logtest.h"
LogTest::LogTest()
{
}
void LogTest::writeTest()
{
osdev::components::log::Log::setMask( osdev::components::log::LogMask::Upto );
LogError ( "testcase", "testing the error message" );
LogCritical ( "testcase", "testing the critical message" );
LogAlert ( "testcase", "testing the alert message" );
LogEmergency( "testcase", "testing the emergency message" );
osdev::components::log::Log::setMask( osdev::components::log::LogMask::None );
LogDebug ( "testcase", "testing the debug message" );
LogDebug ( "testcase", "testing a second debug message" );
LogInfo ( "testcase", "testing the info message" );
LogNotice ( "testcase", "testing the notice message" );
LogWarning ( "testcase", "testing the warning message" );
}
|