source: CONFIG/publications/ICOLMDZORINCA_CO2_Transport_GMD_2023/XIOS/extern/src_netcdf4/nclog.h @ 6607

Last change on this file since 6607 was 6607, checked in by acosce, 10 months ago

XIOS used for ICOLMDZORINCA_CO2_Transport_GMD_2023

File size: 892 bytes
Line 
1/*********************************************************************
2 *   Copyright 2010, UCAR/Unidata
3 *   See netcdf/COPYRIGHT file for copying and redistribution conditions.
4 *   $Header$
5 *********************************************************************/
6
7#ifndef NCLOG_H
8#define NCLOG_H
9
10#define ENVFLAG "NCLOGFILE"
11
12/* Suggested tag values */
13#define NCLOGNOTE 0
14#define NCLOGWARN 1
15#define NCLOGERR 2
16#define NCLOGDBG 3
17
18extern void ncloginit(void);
19extern void ncsetlogging(int tf);
20extern void nclogopen(const char* file);
21extern void nclogclose(void);
22
23/* The tag value is an arbitrary integer */
24extern void nclog(int tag, const char* fmt, ...);
25extern void nclogtext(int tag, const char* text);
26extern void nclogtextn(int tag, const char* text, size_t count);
27
28/* Provide printable names for tags */
29extern void nclogsettags(char** tagset, char* dfalt);
30
31#endif /*NCLOG_H*/
Note: See TracBrowser for help on using the repository browser.