Use a reasonable default log file location if none is specified (issue #1757)

This commit is contained in:
Marshall Greenblatt
2015-10-23 12:58:33 -04:00
parent b731133713
commit 1f86d24d48
2 changed files with 47 additions and 16 deletions

View File

@ -262,10 +262,12 @@ typedef struct _cef_settings_t {
cef_string_t locale;
///
// The directory and file name to use for the debug log. If empty, the
// default name of "debug.log" will be used and the file will be written
// to the application directory. Also configurable using the "log-file"
// command-line switch.
// The directory and file name to use for the debug log. If empty a default
// log file name and location will be used. On Windows and Linux a "debug.log"
// file will be written in the main executable directory. On Mac OS X a
// "~/Library/Logs/<app name>_debug.log" file will be written where <app name>
// is the name of the main app executable. Also configurable using the
// "log-file" command-line switch.
///
cef_string_t log_file;