OSFI-C++  3.10.0
OpenSF Integration Library
EHLog.h File Reference

Foreign-function interface to the EHLog module of OSFI-C++. More...

#include "ffi_base.h"

Go to the source code of this file.

Functions

EHLog module

Contains routines that wrap those in the Logger class. Since they are all static, the only marshaling performed is to construct C++ strings from the given char arrays. Thus, they must never be called with NULL strings, since C++ is allowed to throw (or die) in that case.

bool osfi_common_debug_isenabled ()
 
void osfi_common_error (const char *message)
 
void osfi_common_warning (const char *message)
 
void osfi_common_info (const char *message)
 
void osfi_common_debug (const char *message)
 
void osfi_common_progress (int n, int m)
 
void osfi_common_finish_execution (int errorCode)
 
void osfi_common_quality (const char *name, const char *value)
 
void osfi_common_quality_double (const char *name, double value)
 

Detailed Description

Foreign-function interface to the EHLog module of OSFI-C++.

This file exposes an interface to the OSFI functions that can be called without C++ name mangling or other C++-specific features such as exception handling. It is not the OSFI-C interface, which resides in "OSFIC.h". It is intended as an intermediate layer to create bindings to OSFI-C++ from other languages; currently C and Fortran are supported through it.

Function Documentation

◆ osfi_common_debug()

void osfi_common_debug ( const char *  message)

◆ osfi_common_debug_isenabled()

bool osfi_common_debug_isenabled ( )

◆ osfi_common_error()

void osfi_common_error ( const char *  message)

◆ osfi_common_finish_execution()

void osfi_common_finish_execution ( int  errorCode)

◆ osfi_common_info()

void osfi_common_info ( const char *  message)

Calls Logger::info

◆ osfi_common_progress()

void osfi_common_progress ( int  n,
int  m 
)

◆ osfi_common_quality()

void osfi_common_quality ( const char *  name,
const char *  value 
)

Calls Logger::qualityReport(string,string)

◆ osfi_common_quality_double()

void osfi_common_quality_double ( const char *  name,
double  value 
)

Calls Logger::qualityReport(string,double)

◆ osfi_common_warning()

void osfi_common_warning ( const char *  message)