w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

gr_logging.cpp File Reference
#include <cstdio>
#include "graphite2/Log.h"
#include "inc/debug.h"
#include "inc/CharInfo.h"
#include "inc/Slot.h"
#include "inc/Segment.h"
#include "inc/json.h"
#include "inc/Collider.h"
Include dependency graph for gr_logging.cpp:

Go to the source code of this file.

Functions

bool gr_start_logging (GR_MAYBE_UNUSED gr_face *face, const char *log_path)
 
bool graphite_start_logging (FILE *, GrLogMask)
 
void gr_stop_logging (GR_MAYBE_UNUSED gr_face *face)
 
void graphite_stop_logging ()
 

Variables

jsonglobal_log = 0
 

Function Documentation

◆ gr_start_logging()

bool gr_start_logging ( GR_MAYBE_UNUSED gr_face face,
const char *  log_path 
)

Definition at line 49 of file gr_logging.cpp.

References face, FILE, fopen, free, global_log, gr_stop_logging(), L, log(), MAX_PATH, and n.

◆ gr_stop_logging()

void gr_stop_logging ( GR_MAYBE_UNUSED gr_face face)

Definition at line 110 of file gr_logging.cpp.

References face, fclose, FILE, global_log, log(), FT_FaceRec_::stream, and graphite2::json::stream().

◆ graphite_start_logging()

bool graphite_start_logging ( FILE logFile,
GrLogMask  mask 
)

Start logging to a FILE object. This function is deprecated as of 1.2.0, use the _face versions instead.

Returns
True on success
Parameters
logfileFILE reference to output logging to
maskWhat aspects of logging to report (ignored)

Definition at line 93 of file gr_logging.cpp.

◆ graphite_stop_logging()

void graphite_stop_logging ( )

Stop logging to a FILE object. This function is deprecated as of 1.2.0, use the _face versions instead.

Definition at line 129 of file gr_logging.cpp.

Variable Documentation

◆ global_log

json* global_log = 0

Definition at line 44 of file gr_logging.cpp.