Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
logging_client.h File Reference

Go to the source code of this file.

Data Structures

struct  teoLoggingClientClass
 Teonet Logging client class data definition. More...
 

Typedefs

typedef struct
teoLoggingClientClass 
teoLoggingClientClass
 Teonet Logging client class data definition. More...
 

Functions

teoLoggingClientClassteoLoggingClientInit (void *ke)
 Logging client initialize. More...
 
void teoLoggingClientDestroy (teoLoggingClientClass *lc)
 Logging client destroy and free allocated memory. More...
 
void teoLoggingClientSend (void *ke, const char *message)
 Send log data to logging servers. More...
 

Detailed Description

Author
Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

Teonet logging client module

Created on May 30, 2018, 1:33 PM

Typedef Documentation

Teonet Logging client class data definition.

Function Documentation

void teoLoggingClientDestroy ( teoLoggingClientClass lc)
teoLoggingClientClass* teoLoggingClientInit ( void *  ke)

Logging client initialize.

Parameters
kePointer to ksnetEvMgrClass
Returns
Pointer to teoLoggingClientClass

References DEBUG, DEBUG_VV, teoLoggingClientClass::event_cb, event_cb(), teoLoggingClientClass::ke, ke, kev, ksn_puts, malloc(), teoLoggingClientClass::map, and MODULE.

Referenced by modules_init().

void teoLoggingClientSend ( void *  ke,
const char *  message 
)

Send log data to logging servers.

Parameters
kePointer to ksnetEvMgrClass
messagePointer to cstring message