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