#include "logtest.h" LogTest::LogTest() { } void LogTest::writeTest() { osdev::components::log::Log::setMask( osdev::components::log::LogMask::None ); LogDebug ( "testing the debug message", "test_debug" ); LogInfo ( "testing the info message", "test_info" ); LogNotice ( "testing the notice message", "test_notice" ); LogWarning ( "testing the warning message", "test_warning" ); LogError ( "testing the error message", "test_error" ); LogCritical ( "testing the critical message", "test_critical" ); LogAlert ( "testing the alert message", "test_alert" ); LogEmergency( "testing the emergency message", "test_emergency" ); osdev::components::log::Log::setMask( osdev::components::log::LogMask::Upto ); osdev::components::log::Log::setLogLevel( osdev::components::log::LogLevel::Notice ); LogDebug ( "testing the debug message", "test_debug" ); LogInfo ( "testing the info message", "test_info" ); LogNotice ( "testing the notice message", "test_notice" ); LogWarning ( "testing the warning message", "test_warning" ); osdev::components::log::Log::setMask( osdev::components::log::LogMask::Mask ); osdev::components::log::Log::setLogLevel( osdev::components::log::LogLevel::Notice ); LogDebug ( "testing the debug message", "test_debug" ); LogInfo ( "testing the info message", "test_info" ); LogNotice ( "testing the notice message", "test_notice" ); LogWarning ( "testing the warning message", "test_warning" ); }