4 ! The contents of this file are subject to the terms of the Common Development
5 ! and Distribution License Version 1.0 (the "License").
7 ! You can obtain a copy of the license at
8 ! http:!www.opensource.org/licenses/CDDL-1.0. See the License for the
9 ! specific language governing permissions and limitations under the License.
11 ! When distributing Covered Code, include this CDDL HEADER in each file and
12 ! include the License file in a prominent location with the name LICENSE.CDDL.
13 ! If applicable, add the following below this CDDL HEADER, with the fields
14 ! enclosed by brackets "[]" replaced with your own identifying information:
16 ! Portions Copyright (c) [yyyy] [name of copyright owner]. All rights reserved.
22 ! Copyright (c) 2016--2018, Regents of the University of Minnesota.
23 ! All rights reserved.
30 ! Release: This file is part of the kim-api-v2.0.0-beta.1 package.
35 ! Line length limits require renaming the log functions in the use statement.
36 ! To employ the macros contained in this file use the following syntax in your
37 ! Fortran source code:
39 ! use kim_model_compute_arguments_destroy_module, &
40 ! log_entry => kim_model_compute_arguments_destroy_log_entry
43 #include "KIM_LOG_DEFINES.inc"
45 #undef FATAL_VERBOSITY
46 #define FATAL_VERBOSITY (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_FATAL_)
50 #if (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_FATAL_)
52 call log_entry(model_compute_arguments_destroy_handle, kim_log_verbosity_fatal, kim_log_message, __LINE__, kim_log_file)
57 #undef ERROR_VERBOSITY
58 #define ERROR_VERBOSITY (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_ERROR_)
62 #if (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_ERROR_)
64 call log_entry(model_compute_arguments_destroy_handle, kim_log_verbosity_error, kim_log_message, __LINE__, kim_log_file)
69 #undef WARNING_VERBOSITY
70 #define WARNING_VERBOSITY (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_WARNING_)
74 #if (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_WARNING_)
75 #define LOG_WARNING()\
76 call log_entry(model_compute_arguments_destroy_handle, kim_log_verbosity_warning, kim_log_message, __LINE__, kim_log_file)
81 #undef INFORMATION_VERBOSITY
82 #define INFORMATION_VERBOSITY (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_INFORMATION_)
83 #ifdef LOG_INFORMATION
84 #undef LOG_INFORMATION
86 #if (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_INFORMATION_)
87 #define LOG_INFORMATION()\
88 call log_entry(model_compute_arguments_destroy_handle, kim_log_verbosity_information, kim_log_message, __LINE__, kim_log_file)
90 #define LOG_INFORMATION()
93 #undef DEBUG_VERBOSITY
94 #define DEBUG_VERBOSITY (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_DEBUG_)
98 #if (KIM_LOG_MAXIMUM_LEVEL >= KIM_LOG_VERBOSITY_DEBUG_)
100 call log_entry(model_compute_arguments_destroy_handle, kim_log_verbosity_debug, kim_log_message, __LINE__, kim_log_file)