defines various logging categories for ParaView More...
#include <vtkPVLogger.h>
Inherits vtkLogger.
Public Types | |
typedef vtkLogger | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPVLogger * | SafeDownCast (vtkObject *o) |
static vtkLogger::Verbosity | GetPipelineVerbosity () |
Use this verbosity level when logging messages that provide information about pipeline update requests, etc. More... | |
static void | SetPipelineVerbosity (vtkLogger::Verbosity value) |
Use this verbosity level when logging messages that provide information about pipeline update requests, etc. More... | |
static vtkLogger::Verbosity | GetExecutionVerbosity () |
Use this verbosity level when logging messages that provide information about algorithm execution. More... | |
static void | SetExecutionVerbosity (vtkLogger::Verbosity value) |
Use this verbosity level when logging messages that provide information about algorithm execution. More... | |
static vtkLogger::Verbosity | GetPluginVerbosity () |
Use this verbosity level to for log message relating to ParaView's plugin system. More... | |
static void | SetPluginVerbosity (vtkLogger::Verbosity value) |
Use this verbosity level to for log message relating to ParaView's plugin system. More... | |
static vtkLogger::Verbosity | GetDataMovementVerbosity () |
Verbosity level for log messages related to data-movement e.g. More... | |
static void | SetDataMovementVerbosity (vtkLogger::Verbosity value) |
Verbosity level for log messages related to data-movement e.g. More... | |
static vtkLogger::Verbosity | GetRenderingVerbosity () |
Verbosity level for log messages related to rendering. More... | |
static void | SetRenderingVerbosity (vtkLogger::Verbosity value) |
Verbosity level for log messages related to rendering. More... | |
static vtkLogger::Verbosity | GetApplicationVerbosity () |
Verbosity level for log messages related to the application, gui, and similar components. More... | |
static void | SetApplicationVerbosity (vtkLogger::Verbosity value) |
Verbosity level for log messages related to the application, gui, and similar components. More... | |
static vtkLogger::Verbosity | GetCatalystVerbosity () |
Verbosity level for log messages related to Catalyst and other in situ tasks. More... | |
static void | SetCatalystVerbosity (vtkLogger::Verbosity value) |
Verbosity level for log messages related to Catalyst and other in situ tasks. More... | |
static vtkLogger::Verbosity | GetDefaultVerbosity () |
Change default verbosity to use for all ParaView categories defined here if no overrides are specified. More... | |
static void | SetDefaultVerbosity (vtkLogger::Verbosity value) |
Change default verbosity to use for all ParaView categories defined here if no overrides are specified. More... | |
Protected Member Functions | |
vtkPVLogger () | |
~vtkPVLogger () override | |
defines various logging categories for ParaView
ParaView code generates informative log entires under several categories. This class provides ability to convert a category to a verbosity level to use to log a message.
All code in ParaView that generates informative log messages should use one of the categories defined here when logging. For example, to log a message about rendering, one uses GetRenderingVerbosity
or the convenience macro PARAVIEW_LOG_RENDERING_VERBOSITY()
as follows:
Developers can elevate verbosity level for any category using the APIs provided on vtkPVLogger e.g. SetRenderingVerbosity.
At runtime, users can elevate verbosity level for any category by setting the corresponding environment variable to level requested e.g. to make all rendering log message show up as INFO, and thus show up on the terminal by default, set the environment variable PARAVIEW_LOG_RENDERING_VERBOSITY
to INFO
or 0
.
When not changed using the APIs or environment variables, all categories default to vtkLogger::VERBOSITY_TRACE. To change the default used, use vtkPVLogger::SetDefaultVerbosity
.
Definition at line 40 of file vtkPVLogger.h.
typedef vtkLogger vtkPVLogger::Superclass |
Definition at line 43 of file vtkPVLogger.h.
|
protected |
|
overrideprotected |
|
virtual |
|
static |
|
override |
|
static |
Use this verbosity level when logging messages that provide information about pipeline update requests, etc.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetPipelineVerbosity
or by setting the environment variable PARAVIEW_LOG_PIPELINE_VERBOSITY
to the expected verbosity level.
|
static |
Use this verbosity level when logging messages that provide information about pipeline update requests, etc.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetPipelineVerbosity
or by setting the environment variable PARAVIEW_LOG_PIPELINE_VERBOSITY
to the expected verbosity level.
|
static |
Use this verbosity level when logging messages that provide information about algorithm execution.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetExecutionVerbosity
or by setting the environment variable PARAVIEW_LOG_EXECUTION_VERBOSITY
to the expected verbosity level.
|
static |
Use this verbosity level when logging messages that provide information about algorithm execution.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetExecutionVerbosity
or by setting the environment variable PARAVIEW_LOG_EXECUTION_VERBOSITY
to the expected verbosity level.
|
static |
Use this verbosity level to for log message relating to ParaView's plugin system.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetPluginVerbosity
or by setting the environment variable PARAVIEW_LOG_PLUGIN_VERBOSITY
to the expected verbosity level.
|
static |
Use this verbosity level to for log message relating to ParaView's plugin system.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetPluginVerbosity
or by setting the environment variable PARAVIEW_LOG_PLUGIN_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to data-movement e.g.
moving data between processes for rendering.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetDataMovementVerbosity
or by setting the environment variable PARAVIEW_LOG_DATA_MOVEMENT_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to data-movement e.g.
moving data between processes for rendering.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetDataMovementVerbosity
or by setting the environment variable PARAVIEW_LOG_DATA_MOVEMENT_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to rendering.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetRenderingVerbosity
or by setting the environment variable PARAVIEW_LOG_RENDERING_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to rendering.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetRenderingVerbosity
or by setting the environment variable PARAVIEW_LOG_RENDERING_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to the application, gui, and similar components.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetApplicationVerbosity
or by setting the environment variable PARAVIEW_LOG_APPLICATION_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to the application, gui, and similar components.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetApplicationVerbosity
or by setting the environment variable PARAVIEW_LOG_APPLICATION_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to Catalyst and other in situ tasks.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetCatalystVerbosity
or by setting the environment variable PARAVIEW_LOG_CATALYST_VERBOSITY
to the expected verbosity level.
|
static |
Verbosity level for log messages related to Catalyst and other in situ tasks.
Default level is vtkLogger::VERBOSITY_TRACE
unless overridden by calling SetCatalystVerbosity
or by setting the environment variable PARAVIEW_LOG_CATALYST_VERBOSITY
to the expected verbosity level.
|
static |
Change default verbosity to use for all ParaView categories defined here if no overrides are specified.
This is intended to be used by ParaView-based applications to change the level at which ParaView messages are logged in bulk.
Default level is vtkLogger::VERBOSITY_TRACE
.
|
static |
Change default verbosity to use for all ParaView categories defined here if no overrides are specified.
This is intended to be used by ParaView-based applications to change the level at which ParaView messages are logged in bulk.
Default level is vtkLogger::VERBOSITY_TRACE
.