VuoLog implementation.
- Copyright
- Copyright © 2012–2020 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see https://vuo.org/license.
Definition in file VuoLog.cc.
|
void | VuoTerminateHandler () |
| Log the timestamp at which std::terminate was called, so we can tell whether the logged exceptions are related to it. More...
|
|
double | VuoLogGetTime (void) |
| Returns the number of seconds (including fractional seconds) since an arbitrary start time. More...
|
|
static void | __attribute__ ((constructor)) VuoLog_init(void) |
| Stores the time at which this module was loaded, for use by VuoLogGetElapsedTime(). More...
|
|
void | VuoLog_recordTime (const char *name, double time) |
| Adds time to the specified profile name . More...
|
|
void | __attribute__ ((destructor)) VuoLog_dumpProfile(void) |
| Outputs all time profiles. More...
|
|
double | VuoLogGetElapsedTime (void) |
| Returns the number of seconds (including fractional seconds) since this module was loaded. More...
|
|
VuoCrashReport_infoType VuoCrashReport | __attribute__ ((section("__DATA,__crash_info"))) |
| Data to be inserted into macOS crash reports. More...
|
|
void | VuoLog_statusF (const char *file, const unsigned int linenumber, const char *function, const char *format,...) |
| Helper for VuoLog_status. More...
|
|
int | VuoLog_getOSVersionMinor (void) |
| Returns the minor component of the OS version. 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...
|
|
bool | VuoIsDebugEnabled (void) |
| Returns true if debug mode is enabled. More...
|
|
void | VuoLog_backtrace (void) |
| Prints the stack backtrace to stderr. More...
|
|
void | VuoLog_replaceString (char *wholeString, const char *substringToRemove, const char *replacement) |
| Removes all occurrences of a substring. More...
|
|
vector< string > | VuoLog_getBacktrace (void) |
| Returns the stack backtrace. More...
|
|