Go to the source code of this file.
Enumerations | |
enum | GrLogMask { GRLOG_NONE = 0x0, GRLOG_FACE = 0x01, GRLOG_SEGMENT = 0x02, GRLOG_PASS = 0x04, GRLOG_CACHE = 0x08, GRLOG_OPCODE = 0x80, GRLOG_ALL = 0xFF } |
deprecated mechanism that doesn't do anything now. More... |
Functions | |
GR2_API bool | gr_start_logging (gr_face *face, const char *log_path) |
Start logging all segment creation and updates on the provided face. | |
GR2_API void | gr_stop_logging (gr_face *face) |
Stop logging on the given face. | |
GR2_API bool | graphite_start_logging (FILE *logFile, GrLogMask mask) |
Start logging to a FILE object. | |
GR2_API void | graphite_stop_logging () |
Stop logging to a FILE object. |
enum GrLogMask |
Start logging all segment creation and updates on the provided face.
This is logged to a JSON file, see "Segment JSON Schema.txt" for a precise definition of the file
face | the gr_face whose segments you want to log to the given file |
log_path | a utf8 encoded file name and path to log to. |
Stop logging on the given face.
This will close the log file created by gr_start_logging.
face | the gr_face whose segments you want to stop logging |
Start logging to a FILE object.
This function is deprecated as of 1.2.0, use the _face versions instead.
logfile | FILE reference to output logging to |
mask | What aspects of logging to report (ignored) |
GR2_API void graphite_stop_logging | ( | ) |
Stop logging to a FILE object.
This function is deprecated as of 1.2.0, use the _face versions instead.