picofuse-objc

NXLog.h
Go to the documentation of this file.
1 
5 #pragma once
6 #include <stdarg.h>
7 #include <stddef.h>
8 
14 #define NXLogDepthMax 4
15 
30 size_t NXLog(NXString *format, ...);
31 
36 size_t NXLogv(NXString *format, va_list args);
37 
47 #ifndef NDEBUG
48 
49 size_t _NXDebug(NXString *format, ...);
51 #define NXDebug(format, ...) _NXDebug(format, ##__VA_ARGS__)
52 #else
53 #define NXDebug(format, ...) ((void)0)
54 #endif
size_t NXLogv(NXString *format, va_list args)
Writes a formatted line to the standard output, from arguments.
A string of UTF-8 text.
Definition: NXString.h:53
size_t NXLog(NXString *format,...)
Writes a formatted line to the standard output.