Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
streams.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include "grassroots_util_library.h"
#include "typedefs.h"
Include dependency graph for streams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OutputStream
 An datatype to abstract out the process of writing log and error messages to the appropriate processes and places on a given Server. More...
 

Macros

#define STM_LEVEL_NONE   (0)
 The Stream levels to use. More...
 
#define STM_LEVEL_SEVERE   (1024)
 A severe, probably terminal error. More...
 
#define STM_LEVEL_WARNING   (1025)
 A recoverable error where some functionality may be reduced. More...
 
#define STM_LEVEL_INFO   (1026)
 An general information message. More...
 
#define STM_LEVEL_FINE   (1027)
 A fine level message. More...
 
#define STM_LEVEL_FINER   (1028)
 A more finely-grained level message. More...
 
#define STM_LEVEL_FINEST   (1029)
 An even more finely-grained level message. More...
 
#define STM_LEVEL_ALL   (0xFFFFFFFF)
 Print all messages. More...
 

Functions

bool InitDefaultOutputStream (void)
 Initialise the default OutputStreams ready for use. More...