Last change
on this file since 1246 was
409,
checked in by ymipsl, 12 years ago
|
Add improved nectdf internal library src
YM
|
-
Property svn:eol-style set to
native
|
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 | |
---|
18 | extern void ncloginit(void); |
---|
19 | extern void ncsetlogging(int tf); |
---|
20 | extern void nclogopen(const char* file); |
---|
21 | extern void nclogclose(void); |
---|
22 | |
---|
23 | /* The tag value is an arbitrary integer */ |
---|
24 | extern void nclog(int tag, const char* fmt, ...); |
---|
25 | extern void nclogtext(int tag, const char* text); |
---|
26 | extern void nclogtextn(int tag, const char* text, size_t count); |
---|
27 | |
---|
28 | /* Provide printable names for tags */ |
---|
29 | extern void nclogsettags(char** tagset, char* dfalt); |
---|
30 | |
---|
31 | #endif /*NCLOG_H*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.