NCEPLIBS-g2  3.5.0
g2logging.F90
Go to the documentation of this file.
1 
4 
10 module g2logging
11  integer g2_log_level
12  character* 120 g2_log_msg
13 
14 contains
21  subroutine g2_log(level)
22  integer, intent(in) :: level
23 
24  if (level .le. g2_log_level) then
25  print *, g2_log_msg
26  endif
27  end subroutine g2_log
28 end module g2logging
Logging for the g2 library.
Definition: g2logging.F90:10
character *120 g2_log_msg
Fill this with the logging message.
Definition: g2logging.F90:12
subroutine g2_log(level)
Print a debug message for the g2 library.
Definition: g2logging.F90:22
integer g2_log_level
0 for no logging.
Definition: g2logging.F90:11