diff options
Diffstat (limited to 'tests/logger/test1.cpp')
-rw-r--r-- | tests/logger/test1.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/logger/test1.cpp b/tests/logger/test1.cpp index eea3ff9..d334ec0 100644 --- a/tests/logger/test1.cpp +++ b/tests/logger/test1.cpp @@ -11,6 +11,7 @@ int main( void ) LogSink *sink = new ConsoleLogSink( logNOTICE ); Logger::instance( ).addSink( sink ); Logger::instance( ).openFileLog( logNOTICE, "test1.log" ); + Logger::instance( ).openSyslog( logNOTICE, "test1", "user" ); LOG( logFATAL ) << "fatal error"; LOG( logCRITICAL ) << "critical error"; |