Vuo  2.3.2
Macros | Functions
VuoLog.h File Reference

Description

Logging functions.

Definition in file VuoLog.h.

Go to the source code of this file.

Macros

#define VuoLog_status(format, ...)
 Stores status information so it can be included in crash reports. More...
 
#define VL()
 Prints the name of the file and function to the system log and to stderr (and implicitly flushes the output buffer). More...
 
#define VLog(format, ...)
 Prints the name of the file and function, and printf()-style format/arguments, to the system log and to stderr (and implicitly flushes the output buffer). More...
 
#define VUserLog(format, ...)
 Same as VLog, but for messages intended for end users. More...
 
#define VDebugLog(format, ...)
 Same as VLog, but for debug messages intended for end users. More...
 
#define VLogHeap(heapPointer)
 Prints the name of the current file and function, and the address and description of the specified heapPointer, to the system log and to stderr (and implicitly flushes the output buffer). More...
 
#define VUOLOG_PROFILE_BEGIN(object)
 Starts a profiler time sample. More...
 
#define VUOLOG_PROFILE_END(object)
 Ends a profiler time sample. More...
 
#define VuoDefer
 Defers execution of the specified block until the end of scope. More...
 

Functions

double VuoLogGetTime (void)
 Returns the number of seconds (including fractional seconds) since an arbitrary start time. More...
 
double VuoLogGetElapsedTime (void)
 Returns the number of seconds (including fractional seconds) since this module was loaded. More...
 
bool VuoIsDebugEnabled (void)
 Returns true if debug mode is enabled. More...
 
void VuoLog_backtrace (void)
 Prints the stack backtrace to stderr. More...
 
bool VuoLog_isDebuggerAttached (void)
 Returns true if the current process is being debugged (either launched by LLDB/Instruments, or the LLDB/Instruments attached after the process launched). More...
 
void VuoLog_statusF (const char *file, const unsigned int linenumber, const char *function, const char *format,...)
 Helper for VuoLog_status. More...
 
void VuoLog (const char *file, const unsigned int linenumber, const char *function, const char *format,...)
 Outputs a message to the system log and to stderr. More...
 
void VuoLog_recordTime (const char *name, double time)
 Adds time to the specified profile name. More...