NCEPLIBS-g2 4.0.0
Loading...
Searching...
No Matches
g2logging Module Reference

Logging for the g2 library. More...

Functions/Subroutines

subroutine g2_log (level)
 Print a debug message for the g2 library.
 

Variables

integer g2_log_level
 0 for no logging.
 
character *120 g2_log_msg
 Fill this with the logging message.
 

Detailed Description

Logging for the g2 library.

Set g2_log_level to turn on logging.

Author
Edward Hartnett
Date
5/15/24

Function/Subroutine Documentation

◆ g2_log()

subroutine g2logging::g2_log ( integer, intent(in)  level)

Print a debug message for the g2 library.

Parameters
[in]levelIf this is lower or equal to the current setting of g2_log_level, print this log message.
Author
Edward Hartnett
Date
5/15/24

Definition at line 21 of file g2logging.F90.

References g2_log_level, and g2_log_msg.

Referenced by gb_info(), getg2i2(), getg2i2r(), getgb2i2(), getgb2l2(), getgb2r2(), getgb2rp2(), getgb2s2(), getidx2(), and ix2gb2().

Variable Documentation

◆ g2_log_level

integer g2logging::g2_log_level

0 for no logging.

Definition at line 11 of file g2logging.F90.

Referenced by g2_log().

◆ g2_log_msg

character* 120 g2logging::g2_log_msg

Fill this with the logging message.

Definition at line 12 of file g2logging.F90.

Referenced by g2_log(), gb_info(), getg2i2(), getg2i2r(), getgb2i2(), getgb2l2(), getgb2r2(), getgb2rp2(), getgb2s2(), getidx2(), and ix2gb2().