* Set where the NanoLog should output its compressed log. If a previous * log file was specified, NanoLog will attempt to sync() the remaining log * entries before swapping files. For best practices, the output file shall * be set before the first invocation to log by the main thread as this * function is *not* thread safe. * * By default, the NanoLog will output to /tmp/compressedLog * * \param f
| 681 | * if the file cannot be opened or crated |
| 682 | */ |
| 683 | void |
| 684 | RuntimeLogger::setLogFile(const char *filename) { |
| 685 | nanoLogSingleton.setLogFile_internal(filename); |
| 686 | } |
| 687 | |
| 688 | /** |
| 689 | * Sets the minimum log level new NANO_LOG messages will have to meet before |
nothing calls this directly
no test coverage detected