Clingo
Loading...
Searching...
No Matches
clingo_logger Struct Reference

The clingo logger. More...

#include <core.h>

Public Attributes

void(* log )(clingo_message_t code, char const *message, size_t size, void *data)
 Callback to intercept messages.
 
void(* free )(void *data)
 Free the logger.
 

Detailed Description

The clingo logger.

Member Data Documentation

◆ free

void(* clingo_logger::free) (void *data)

Free the logger.

Parameters
[in]datauser data for callback
See also
clingo_lib_new()

◆ log

void(* clingo_logger::log) (clingo_message_t code, char const *message, size_t size, void *data)

Callback to intercept messages.

Parameters
[in]codeassociated code
[in]messagethe message
[in]sizethe size of the message
[in]datauser data for callback
See also
clingo_lib_new()

The documentation for this struct was generated from the following file: