Utils/VrUtils/log4cpp/include/log4cpp/BasicConfigurator.hh

32 lines
724 B
C++
Raw Normal View History

2026-02-19 00:45:00 +08:00
/*
* 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