• Home
  • Raw
  • Download

Lines Matching full:logging

2  * logging.c - Centralised logging.  Originated from the Linux-NTFS project.
47 #include "logging.h"
66 * struct ntfs_logging - Control info for the logging system
67 * @levels: Bitfield of logging levels
69 * @handler: Function to perform the actual logging
79 * This struct controls all the logging within the library and tools.
99 * ntfs_log_get_levels - Get a list of the current logging levels
101 * Find out which logging levels are enabled.
111 * ntfs_log_set_levels - Enable extra logging levels
114 * Enable one or more logging levels.
115 * The logging levels are named: NTFS_LOG_LEVEL_*.
128 * ntfs_log_clear_levels - Disable some logging levels
131 * Disable one or more logging levels.
132 * The logging levels are named: NTFS_LOG_LEVEL_*.
146 * ntfs_log_get_flags - Get a list of logging style flags
148 * Find out which logging flags are enabled.
150 * Returns: Logging flags in a 32-bit field
158 * ntfs_log_set_flags - Enable extra logging style flags
159 * @flags: 32-bit field of logging flags to set
161 * Enable one or more logging flags.
164 * Returns: Logging flags that were enabled before the call
175 * ntfs_log_clear_flags - Disable some logging styles
176 * @flags: 32-bit field of logging flags to clear
178 * Disable one or more logging flags.
181 * Returns: Logging flags that were enabled before the call
193 * ntfs_log_get_stream - Default output streams for logging levels
230 * ntfs_log_get_prefix - Default prefixes for logging levels
233 * Prefixing the logging output can make it easier to parse.
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.
311 * main logging handler (as defined in the global logging struct @ntfs_log).
338 * ntfs_log_handler_syslog - syslog logging handler
347 * A simple syslog logging handler. Ignores colors.
393 * Early logging before the logs are redirected
416 * ntfs_log_handler_fprintf - Basic logging handler
425 * A simple logging handler. This is where the log line is finally displayed.
492 * ntfs_log_handler_null - Null logging handler (no output)
502 * logging, without having to change the levels and flags.
611 * global logging structure).
613 * Note: The "colour" option changes the logging handler.
634 ntfs_log_debug("Unknown logging option '%s'\n", option); in ntfs_log_parse_option()