#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" ); }