DragonFly On-Line Manual Pages

Search: Section:  


LOGC_LOGENTER(3)                 User Manuals                 LOGC_LOGENTER(3)

NAME

logc_logEnter, logc_logLeave - nglogc trace logging

SYNOPSIS

#include <nglogc/log.h> logc_error_t logc_logEnter( uint16_t ident, const char* function ); logc_error_t logc_logLeave( uint16_t ident, const char* function );

DESCRIPTION

The functions logc_logEnter() and logc_logLeave are used for trace logging. These functions have no log level as argument, the log level is LOG_FINEST. The functions are disabled per default and must be enabled with a define switch. See logc_defines(3). Parameters ident Identifier of the logger which must be registered first. function The function which is entered or leaved. Return value Upon successful return, these functions return LOG_ERR_OK which is an uint32_t type and has the decimal value 0. In error cases these errors can be returned: LOG_ERR_NULL the format string is a NULL pointer. LOG_ERR_NOT_FOUND invalid logger ID. LOG_ERR_LEVEL log message is not processed because of the log level of the logger.

BUG REPORT

For bugreporting write a mail to ebrosius@netgarage.org or use the issues tracker on the project hosting site http://code.google.com/p/nglogc

COPYRIGHT

nglogc is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AUTHOR

Dennis Krzyzaniak <ebrosius@netgarage.org>

SEE ALSO

logc_logError(3), logc_logArray(3), logc_log(3), logc_logger(3), logc_defines(3), the project site http://netgarage.org Linux October 2009 LOGC_LOGENTER(3)

Search: Section: