# rootlogger.h

Go to the documentation of this file.

    00001 // Module:  Log4CPLUS
    00002 // File:    rootlogger.h
    00003 // Created: 6/2001
    00004 // Author:  Tad E. Smith
    00005 //
    00006 //
    00007 // Copyright (C) Tad E. Smith  All rights reserved.
    00008 //
    00009 // This software is published under the terms of the Apache Software
    00010 // License version 1.1, a copy of which has been included with this
    00011 // distribution in the LICENSE.APL file.
    00012 //
    00013
    00016 #ifndef _LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
    00017 #define _LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
    00018
    00019 #include <log4cplus/config.h>
    00020 #include <log4cplus/helpers/loglog.h>
    00021 #include <log4cplus/spi/loggerimpl.h>
    00022
    00023 namespace log4cplus {
    00024     namespace spi {
    00025
    00035         class LOG4CPLUS_EXPORT RootLogger : public LoggerImpl {
    00036         public:
    00037           // Ctors
    00042             RootLogger(Hierarchy& h, LogLevel ll);
    00043
    00044           // Methods
    00049             virtual LogLevel getChainedLogLevel() const;
    00050
    00055             void setLogLevel(LogLevel ll);
    00056
    00057         };
    00058
    00059     } // end namespace spi
    00060 } // end namespace log4cplus
    00061
    00062 #endif // _LOG4CPLUS_SPI_ROOT_LOGGER_HEADER_
    00063