Lines Matching refs:zlog
40 struct zlog *zlog_default = NULL;
150 /* va_list version of zlog. */
152 vzlog (struct zlog *zl, int priority, const char *format, va_list args)
157 /* If zlog is not specified, use default one. */
558 zlog(NULL, priority, "No backtrace available on this platform.");
572 zlog(NULL, priority, "Backtrace for %d stack frames:", size);
577 zlog(NULL, priority, "[bt %d] %p",i,array[i]);
582 zlog(NULL, priority, "[bt %d] %s",i,strings[i]);
589 zlog (struct zlog *zl, int priority, const char *format, ...)
622 FUNCNAME(struct zlog *zl, const char *format, ...) \
645 zlog(NULL, log_level, "Current thread function %s, scheduled from "
649 zlog(NULL, log_level, "Current thread not known/applicable");
661 zlog(NULL, LOG_CRIT, "Assertion `%s' failed in file %s, line %u, function %s",
670 struct zlog *
674 struct zlog *zl;
677 zl = XCALLOC(MTYPE_ZLOG, sizeof (struct zlog));
696 closezlog (struct zlog *zl)
711 zlog_set_level (struct zlog *zl, zlog_dest_t dest, int log_level)
720 zlog_set_file (struct zlog *zl, const char *filename, int log_level)
750 zlog_reset_file (struct zlog *zl)
770 zlog_rotate (struct zlog *zl)