08-08-2010, 08:24 PM
I've just added a bunch of new logging features in r1728 based on Orphis and Rick's suggestions.
Under "Settings" there's now a spinner and a check box to allow file splitting. You can choose a maximum file size (up to 100MB) and whenever the log output reaches that size, new splitted files will be generated with the following nomenclature: [name].[type].[number] (e.g.: log.html.1).
Also, I've added an "Advanced" tab that allows more flexibility on which messages to log. On the left side there're a few presets oriented for several different logs:
- General Debug: This is the default option, and the recommended to post on the forums. Logs everything except compiler, runtime and loader events.
- CPU Debug: Logs cpu and compiler events only.
- GPU Debug: Logs GE (from VideoEngine logger) events only.
- Core Debug: Logs JPCSP related events only (runtime, emulator, loader).
- Full Debug: Logs everything.
- Custom: Enables the right side where you can choose each logging category individually.
Please note that these settings (except for the ones under the "General" tab) are never saved between different runs. This is done so you can easily restore the original settings.
The correct way to use this tool is to change any desired settings and press the "Generate new settings file" button (now moved to a more obvious location). This way, a new settings file is generated and will be used by JPCSP on any subsequent runs.
Under "Settings" there's now a spinner and a check box to allow file splitting. You can choose a maximum file size (up to 100MB) and whenever the log output reaches that size, new splitted files will be generated with the following nomenclature: [name].[type].[number] (e.g.: log.html.1).
Also, I've added an "Advanced" tab that allows more flexibility on which messages to log. On the left side there're a few presets oriented for several different logs:
- General Debug: This is the default option, and the recommended to post on the forums. Logs everything except compiler, runtime and loader events.
- CPU Debug: Logs cpu and compiler events only.
- GPU Debug: Logs GE (from VideoEngine logger) events only.
- Core Debug: Logs JPCSP related events only (runtime, emulator, loader).
- Full Debug: Logs everything.
- Custom: Enables the right side where you can choose each logging category individually.
Please note that these settings (except for the ones under the "General" tab) are never saved between different runs. This is done so you can easily restore the original settings.
The correct way to use this tool is to change any desired settings and press the "Generate new settings file" button (now moved to a more obvious location). This way, a new settings file is generated and will be used by JPCSP on any subsequent runs.