NCEPLIBS-bufr 11.7.1
|
Specify location for logging of error and diagnostic messages. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | errwrt (STR) |
This subroutine allows the user to specify a custom location for the logging of error and diagnostic messages generated by the BUFRLIB software. More... | |
Specify location for logging of error and diagnostic messages.
Definition in file errwrt.f.
subroutine errwrt | ( | character*(*) | STR | ) |
This subroutine allows the user to specify a custom location for the logging of error and diagnostic messages generated by the BUFRLIB software.
By default, all such messages are printed to standard output. However, if a user would like to direct such messages elsewhere, this can be done by providing an inline version of this subroutine, using the same calling sequence shown below, in order to override the default version of this subroutine contained within the BUFRLIB distribution package. The user does not need to explicitly call this subroutine from within the application code, since the BUFRLIB software automatically issues an internal call to errwrt when needed. Instead, the user simply needs to define his or her own version of this subroutine with the same name and calling sequence and include it within the compilation, and then the input string STR can be logged or handled in any way of the user's choosing.
[in] | STR | – character*(*): Error message or other diagnostic to be printed to standard output (default) or to another location (if specified via an inline replacement version of this subroutine) |
Program history log:
Date | Programmer | Comments |
---|---|---|
2009-04-21 | J. Ator | Original author |
2012-11-15 | D. Keyser | Use formatted print |
Definition at line 41 of file errwrt.f.
Referenced by arallocf(), bort(), bort2(), cktaba(), closbf(), cpdxmm(), cpyupd(), datebf(), dumpbf(), hold4wlc(), igetprm(), invcon(), invtag(), invwin(), ireadmt(), isetprm(), jstnum(), makestab(), maxout(), mrginv(), msgupd(), msgwrt(), mtfnam(), nvnwin(), openbf(), openbt(), pktdd(), rcstpl(), rdbfdx(), rdmemm(), rdmems(), rdmsgw(), readdx(), readerme(), readlc(), readmg(), reads3(), strnum(), strsuc(), ufbevn(), ufbin3(), ufbint(), ufbmem(), ufbmex(), ufbovr(), ufbrep(), ufbrms(), ufbrw(), ufbseq(), ufbstp(), ufbtab(), ufbtam(), usrtpl(), valx(), wrdlen(), and writlc().