diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-31 00:39:46 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-31 00:39:46 +0800 |
commit | bfdcfc7949e01f47ee4d39de425a993033c413b0 (patch) | |
tree | 2c088c5655c9c608fb4756da5f1fd6213b7b5212 /shell/Evolution-ShellComponent.idl | |
parent | 911f4543a29d5a5ba99a5b1e6f9a847bc06fb78b (diff) | |
download | gsoc2013-evolution-bfdcfc7949e01f47ee4d39de425a993033c413b0.tar.gz gsoc2013-evolution-bfdcfc7949e01f47ee4d39de425a993033c413b0.tar.zst gsoc2013-evolution-bfdcfc7949e01f47ee4d39de425a993033c413b0.zip |
add a "debug" method to tell a component to output debugging messages to a
* Evolution-ShellComponent.idl: add a "debug" method to tell a
component to output debugging messages to a given file.
* main.c (main): Add a "--debug filename" argument, to direct
debugging output for all components to a file. Redirect the
shell's stdout/stderr to that file if this argument is used.
* evolution-shell-component-client.c
(evolution_shell_component_client_set_owner): If debug_log is set,
call the component's debug method as well.
* evolution-shell-component.c (impl_ShellComponent_debug):
redirect stdout/stderr to the named file and emit a "debug"
signal.
svn path=/trunk/; revision=9046
Diffstat (limited to 'shell/Evolution-ShellComponent.idl')
-rw-r--r-- | shell/Evolution-ShellComponent.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl index 29776b49d0..33d52e8145 100644 --- a/shell/Evolution-ShellComponent.idl +++ b/shell/Evolution-ShellComponent.idl @@ -40,6 +40,8 @@ module Evolution { void unsetOwner () raises (NotOwned); + void debug (in string log_path); + /* FIXME: We might want more exceptions here. */ exception NotFound {}; exception UnsupportedType {}; |