wiki:DevGuide/Logging

Logging

OpenSG provides extensive logging support through the OSG::Log class.

Environment Variables

The amount of log output can be controlled by setting one or more environment variables. The relevant environment variables include:

  • OSG_LOG_LEVEL: "log","fatal", "warning", "notice", "debug_gv","info", "debug"
  • OSG_LOG_TYPE: "none","-","stdout", "stderr", "file", "buffer"
  • OSG_LOG_FILE: Name of file to write log to.
  • OSG_LOG_HEADER: ???
Last modified 7 years ago Last modified on 01/17/10 01:11:44