- Added SignalCore for handling system signals - Implemented LogMessages (only output to stdout, later to logfile) - Updated #defines for all header files
35 lines
734 B
C
35 lines
734 B
C
/*
|
|
* LogCore.h
|
|
*
|
|
* Created on: 17 May 2016
|
|
* Author: wentzelc
|
|
*/
|
|
|
|
#ifndef REDACORE_LOGCORE_H_
|
|
#define REDACORE_LOGCORE_H_
|
|
|
|
// redA Libraries
|
|
/* none */
|
|
|
|
// Standard C/C++ Libraries
|
|
/* none */
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
// Debug options
|
|
const short
|
|
OUT_NORMAL = 1,
|
|
OUT_HEX = 2,
|
|
OUT_CRLF = 4,
|
|
OUT_ASIS = 8;
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
bool LogMessage( const char * Heading, const char * Message );
|
|
|
|
bool ShowOutput( const char * Heading, const short Show, const char * Buffer, int Len = -1 );
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
#endif /* REDACORE_OGCORE_H_ */
|