![]()  | 
  
    VCV Rack API v2
    
   | 
 
Logs messages to a file or the terminal. More...
Enumerations | |
| enum | Level { DEBUG_LEVEL , INFO_LEVEL , WARN_LEVEL , FATAL_LEVEL } | 
Functions | |
| PRIVATE bool | init () | 
| Returns whether logger was successfully initialized.   | |
| PRIVATE void | destroy () | 
| __attribute__ ((format(printf, 5, 6))) void log(Level level | |
| Do not use this function directly.   | |
| const char int const char const char PRIVATE bool | wasTruncated () | 
| Returns whether the last log file failed to end properly, due to a possible crash.   | |
Variables | |
| std::string | logPath | 
| const char * | filename | 
| const char int | line | 
| const char int const char * | func | 
| const char int const char const char * | format | 
Logs messages to a file or the terminal.
| enum rack::logger::Level | 
| PRIVATE bool rack::logger::init | ( | ) | 
Returns whether logger was successfully initialized.
| PRIVATE void rack::logger::destroy | ( | ) | 
| rack::logger::__attribute__ | ( | (format(printf, 5, 6)) | ) | 
Do not use this function directly.
Use the macros above. Thread-safe, meaning messages cannot overlap each other in the log.
| const char int const char const char PRIVATE bool rack::logger::wasTruncated | ( | ) | 
Returns whether the last log file failed to end properly, due to a possible crash.
      
  | 
  extern | 
| const char* rack::logger::filename | 
| const char int rack::logger::line | 
| const char int const char* rack::logger::func | 
| const char int const char const char* rack::logger::format |