Lines Matching defs:handler
69 * @handler: Function to perform the actual logging
74 ntfs_log_handler *handler BROKEN_GCC_FORMAT_ATTRIBUTE;
282 * ntfs_log_set_handler - Provide an alternate logging handler
283 * @handler: function to perform the logging
285 * This alternate handler will be called for all future logging requests.
286 * If no @handler is specified, logging will revert to the default handler.
288 void ntfs_log_set_handler(ntfs_log_handler *handler)
290 if (handler) {
291 ntfs_log.handler = handler;
293 if (handler == ntfs_log_handler_syslog)
297 ntfs_log.handler = ntfs_log_handler_null;
301 * ntfs_log_redirect - Pass on the request to the real handler
306 * @data: User specified data, possibly specific to a handler
311 * main logging handler (as defined in the global logging struct @ntfs_log).
329 ret = ntfs_log.handler(function, file, line, level, data, format, args);
338 * ntfs_log_handler_syslog - syslog logging handler
343 * @data: User specified data, possibly specific to a handler
347 * A simple syslog logging handler. Ignores colors.
416 * ntfs_log_handler_fprintf - Basic logging handler
421 * @data: User specified data, possibly specific to a handler
425 * A simple logging handler. This is where the log line is finally displayed.
426 * It is more likely that you will want to set the handler to either
429 * Note: For this handler, @data is a pointer to a FILE output stream.
492 * ntfs_log_handler_null - Null logging handler (no output)
497 * @data: User specified data, possibly specific to a handler
501 * This handler produces no output. It provides a way to temporarily disable
519 * @data: User specified data, possibly specific to a handler
525 * Note: For this handler, @data is a pointer to a FILE output stream.
549 * @data: User specified data, possibly specific to a handler
556 * Note: For this handler, @data is a pointer to a FILE output stream.
580 * @data: User specified data, possibly specific to a handler
586 * Note: For this handler, @data is a pointer to a FILE output stream.
613 * Note: The "colour" option changes the logging handler.