GrabBag/VrUtils/log4cpp/include/log4cpp/BasicConfigurator.hh
2025-07-23 01:35:14 +08:00

32 lines
724 B
C++

/*
* BasicConfigurator.hh
*
* Copyright 2002, Log4cpp Project. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef _LOG4CPP_BASICCONFIGURATOR_HH
#define _LOG4CPP_BASICCONFIGURATOR_HH
#include <log4cpp/Portability.hh>
namespace log4cpp {
/**
This class implements a trivial default configuration for log4cpp:
it adds a FileAppender that logs to stdout and uses a BasicLayout to
the root Category.
@since 0.3.2
**/
class LOG4CPP_EXPORT BasicConfigurator {
public:
/**
Performs a minimal configuration of log4cpp.
**/
static void configure();
};
}
#endif