Beispiel #1
0
 public static int set_log_file(string log_file)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(DataHandlerLibrary64.set_log_file(log_file));
     }
     else
     {
         return(DataHandlerLibrary32.set_log_file(log_file));
     }
 }
        public static int set_log_file(string log_file)
        {
            switch (PlatformHelper.get_library_environment())
            {
            case LibraryEnvironment.x64:
                return(DataHandlerLibrary64.set_log_file(log_file));

            case LibraryEnvironment.x86:
                return(DataHandlerLibrary32.set_log_file(log_file));

            case LibraryEnvironment.Linux:
                return(DataHandlerLibraryLinux.set_log_file(log_file));

            case LibraryEnvironment.MacOS:
                return(DataHandlerLibraryMac.set_log_file(log_file));
            }

            return((int)CustomExitCodes.GENERAL_ERROR);
        }