logFd_interface.h
Go to the documentation of this file.
15 * This API provides a method for logging messages coming from a file descriptor such as a pipe or40 //--------------------------------------------------------------------------------------------------43 * Connect the current client thread to the service providing this API. Block until the service is47 * called before any other functions in this API. Normally, ConnectService is automatically called52 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------61 * Try to connect the current client thread to the service providing this API. Return with an error65 * called before any other functions in this API. Normally, ConnectService is automatically called72 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.73 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).76 //--------------------------------------------------------------------------------------------------82 //--------------------------------------------------------------------------------------------------88 * longer a connection to the service, and the functions in this API can't be used. For details, see93 //--------------------------------------------------------------------------------------------------99 //--------------------------------------------------------------------------------------------------101 * Registers an application process' standard error for logging. Messages from this file descriptor108 //--------------------------------------------------------------------------------------------------124 //--------------------------------------------------------------------------------------------------126 * Registers an application process' standard out for logging. Messages from this file descriptor133 //--------------------------------------------------------------------------------------------------void logFd_ConnectService(void)le_result_t logFd_TryConnectService(void)void logFd_StdErr(int fd, const char *appName, const char *procName, int32_t pid)void logFd_StdOut(int fd, const char *appName, const char *procName, int32_t pid)void logFd_DisconnectService(void)