enable p3dplugin.log by default too
This commit is contained in:
parent
f9e90d497d
commit
863662c542
|
|
@ -126,6 +126,9 @@ void PPLogger::Open( const std::string &rootDir )
|
|||
log_basename = P3D_PLUGIN_LOG_BASENAME1;
|
||||
}
|
||||
#endif
|
||||
if (log_basename.empty()) {
|
||||
log_basename = "p3dplugin";
|
||||
}
|
||||
|
||||
if (!log_basename.empty()) {
|
||||
std::string log_pathname = log_directory;
|
||||
|
|
|
|||
|
|
@ -79,6 +79,9 @@ open_logfile() {
|
|||
log_basename = P3D_PLUGIN_LOG_BASENAME1;
|
||||
}
|
||||
#endif
|
||||
if (log_basename.empty()) {
|
||||
log_basename = "p3dplugin";
|
||||
}
|
||||
|
||||
if (!log_basename.empty()) {
|
||||
string log_pathname = log_directory;
|
||||
|
|
|
|||
Loading…
Reference in New Issue