Lines Matching defs:handler

69  * @handler:	Function to perform the actual logging
74 ntfs_log_handler *handler BROKEN_GCC_FORMAT_ATTRIBUTE;
284 * ntfs_log_set_handler - Provide an alternate logging handler
285 * @handler: function to perform the logging
287 * This alternate handler will be called for all future logging requests.
288 * If no @handler is specified, logging will revert to the default handler.
290 void ntfs_log_set_handler(ntfs_log_handler *handler)
292 if (handler) {
293 ntfs_log.handler = handler;
295 if (handler == ntfs_log_handler_syslog)
299 ntfs_log.handler = ntfs_log_handler_null;
303 * ntfs_log_redirect - Pass on the request to the real handler
308 * @data: User specified data, possibly specific to a handler
313 * main logging handler (as defined in the global logging struct @ntfs_log).
331 ret = ntfs_log.handler(function, file, line, level, data, format, args);
340 * ntfs_log_handler_syslog - syslog logging handler
345 * @data: User specified data, possibly specific to a handler
349 * A simple syslog logging handler. Ignores colors.
424 * ntfs_log_handler_fprintf - Basic logging handler
429 * @data: User specified data, possibly specific to a handler
433 * A simple logging handler. This is where the log line is finally displayed.
434 * It is more likely that you will want to set the handler to either
437 * Note: For this handler, @data is a pointer to a FILE output stream.
515 * ntfs_log_handler_null - Null logging handler (no output)
520 * @data: User specified data, possibly specific to a handler
524 * This handler produces no output. It provides a way to temporarily disable
542 * @data: User specified data, possibly specific to a handler
548 * Note: For this handler, @data is a pointer to a FILE output stream.
574 * @data: User specified data, possibly specific to a handler
581 * Note: For this handler, @data is a pointer to a FILE output stream.
607 * @data: User specified data, possibly specific to a handler
613 * Note: For this handler, @data is a pointer to a FILE output stream.
642 * Note: The "colour" option changes the logging handler.