31 #ifndef LOG4CPLUS_INTERNAL_ENV_H
32 #define LOG4CPLUS_INTERNAL_ENV_H
36 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
47 #ifdef LOG4CPLUS_HAVE_SYS_TYPES_H
48 #include <sys/types.h>
50 #ifdef LOG4CPLUS_HAVE_UNISTD_H
55 namespace log4cplus {
namespace internal {
68 bool split_path (std::vector<tstring> & components, std::size_t & special,
79 return GetCurrentProcessId ();
82 #elif defined (LOG4CPLUS_HAVE_GETPID)
bool split_path(std::vector< tstring > &components, std::size_t &special, tstring const &path)
Parse a path into path components.
bool parse_bool(bool &val, tstring const &str)
Parse a string as a boolean value.
void make_dirs(tstring const &file_path)
Makes directories leading to file.
std::locale get_locale_by_name(tstring const &locale_name)
Get locale.
bool get_env_var(tstring &value, tstring const &name)
Get environment variable value.
std::basic_string< tchar > tstring