public static int set_log_level(int log_level) { if (System.Environment.Is64BitProcess) { return(DataHandlerLibrary64.set_log_level(log_level)); } else { return(DataHandlerLibrary32.set_log_level(log_level)); } }
public static int set_log_level(int log_level) { switch (PlatformHelper.get_library_environment()) { case LibraryEnvironment.x64: return(DataHandlerLibrary64.set_log_level(log_level)); case LibraryEnvironment.x86: return(DataHandlerLibrary32.set_log_level(log_level)); case LibraryEnvironment.Linux: return(DataHandlerLibraryLinux.set_log_level(log_level)); case LibraryEnvironment.MacOS: return(DataHandlerLibraryMac.set_log_level(log_level)); } return((int)CustomExitCodes.GENERAL_ERROR); }