Utils.hpp File Reference

This file is private for the apparmor-notifications library. It defines common utilities e.g. a logger macro and a gettext text domain and a helper macro for internationalization. More...

#include <limal/apparmor-notifications/config.h>
#include <limal/Logger.hpp>
#include <libintl.h>

Go to the source code of this file.

Defines

#define LOGIT(level, message)   LIMAL_SLOG(limal::Logger("apparmor-notifications"), level, message)
#define i18n_domain   "apparmor-notifications"
#define __(MSG)   dgettext( i18n_domain, (MSG) )


Detailed Description

This file is private for the apparmor-notifications library. It defines common utilities e.g. a logger macro and a gettext text domain and a helper macro for internationalization.


Define Documentation

#define __ ( MSG   )     dgettext( i18n_domain, (MSG) )

Internationalization helper macro.

#define i18n_domain   "apparmor-notifications"

Text domain for the apparmor-notifications library.

#define LOGIT ( level,
message   )     LIMAL_SLOG(limal::Logger("apparmor-notifications"), level, message)

Logging helper macro for the apparmor-notifications library.


Generated on Sat Sep 22 00:45:04 2007 by  doxygen 1.5.3