mirror of
https://github.com/BepInEx/Dobby.git
synced 2026-11-13 20:06:11 -10:00
17 lines
390 B
C++
17 lines
390 B
C++
#if defined(__linux__) || defined(__APPLE__)
|
|
#include <unistd.h>
|
|
#include <syslog.h>
|
|
|
|
#include "dobby_internal.h"
|
|
|
|
__attribute__((constructor)) static void ctor() {
|
|
#if defined(DOBBY_DEBUG)
|
|
LOG("================================");
|
|
LOG("Dobby");
|
|
LOG("================================");
|
|
|
|
LOG("dobby in debug log mode, disable with cmake flag \"-DDOBBY_DEBUG=OFF\"");
|
|
#endif
|
|
}
|
|
|
|
#endif |