Example 16–3 shows a call to slapi_log_info_ex().
#include "slapi-plugin.h" int hello() { slapi_log_info_ex( SLAPI_LOG_INFO_AREA_PLUGIN, SLAPI_LOG_INFO_LEVEL_DEFAULT, SLAPI_LOG_NO_MSGID, SLAPI_LOG_NO_CONNID, SLAPI_LOG_NO_OPID, "hello() from a plug-in", "Hello, World!\n" ); return 0; }