diff options
author | dynaflash <[email protected]> | 2007-11-14 16:37:34 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-11-14 16:37:34 +0000 |
commit | 93f4ade64897bb3a046deb9aeca7aeb019993169 (patch) | |
tree | 4d6a1984b92e8bc91124344bce5bf92747efbcb8 /macosx/HBOutputPanelController.h | |
parent | d2f6a79b08bdea9f87ee806d99f22b92cb8761a5 (diff) |
MacGui: Activity Window Logging Initial Implementation
- stderr and stdout are now written to a .txt file as well as displayed in the activity window
- Each line from stdout and stderr is written as it comes out of libhb (instead of in batches) so that in the event of a crash, we see the very last log message just like in the cli output
- Log file is located at: ~/Library/Application Support/HandBrake/HandBrake-activitylog.txt
- Uses .txt file as .log files default to open in console (text editor is more user friendly to n00bs?).
- For initial implementation, log file is overwritten for each session, and the current date and time is printed at the top of the log. So, log is one session long, for now.
- Activity window is also now a normal window (not an inspector) so that you can minimize it and the picture preview window is not half covered up by it on a smaller (mbp) display
- Added "Open Log File" to the Activity Window contextual menu which opens the log file in the users default text editor
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1058 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBOutputPanelController.h')
-rw-r--r-- | macosx/HBOutputPanelController.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/HBOutputPanelController.h b/macosx/HBOutputPanelController.h index c2b6bd75d..b61fa20ff 100644 --- a/macosx/HBOutputPanelController.h +++ b/macosx/HBOutputPanelController.h @@ -21,10 +21,14 @@ /// Text storage for the debug output. NSTextStorage *outputTextStorage; + + /// Path to log text file. + NSString *outputLogFile; } - (IBAction)showOutputPanel:(id)sender; - (IBAction)clearOutput:(id)sender; - (IBAction)copyAllOutputToPasteboard:(id)sender; +- (IBAction)openActivityLogFile:(id)sender; @end |