NCEPLIBS-bufr
12.0.1
errwrt.f
Go to the documentation of this file.
1
C> @file
2
C> @brief Specify location for logging of error and diagnostic
3
C> messages.
4
C>
5
C> @author J. Ator @date 2009-04-21
6
7
C> This subroutine allows the user to specify a custom location for
8
C> the logging of error and diagnostic messages generated by the
9
C> BUFRLIB software.
10
C>
11
C> By default, all such messages are printed to standard output.
12
C> However, if a user would like to direct such messages elsewhere,
13
C> this can be done by providing an inline version of this subroutine,
14
C> using the same calling sequence shown below, in order to override
15
C> the default version of this subroutine contained within the BUFRLIB
16
C> distribution package. The user does not need to explicitly call
17
C> this subroutine from within the application code, since the BUFRLIB
18
C> software automatically issues an internal call to errwrt when needed.
19
C> Instead, the user simply needs to define his or her own version of
20
C> this subroutine with the same name and calling sequence and include
21
C> it within the compilation, and then the input string STR can be
22
C> logged or handled in any way of the user's choosing.
23
C>
24
C> @param[in] STR -- character*(*): Error message or other diagnostic
25
C> to be printed to standard output (default) or
26
C> to another location (if specified via an inline
27
C> replacement version of this subroutine)
28
C>
29
C> @remarks
30
C> - The amount and types of diagnostic messages generated for
31
C> logging can be controlled via a separate call to subroutine
32
C> openbf() with IO = 'QUIET'.
33
C>
34
C> @author J. Ator @date 2009-04-21
35
SUBROUTINE
errwrt
(STR)
36
37
CHARACTER*(*)
STR
38
39
print
'(1X,A)'
,str
40
41
RETURN
42
END
errwrt
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
Definition:
errwrt.f:36
src
errwrt.f
Generated by
1.9.1