trivial-backtrace

API Reference

trivial-backtrace

trivial-backtrace

TRIVIAL-BACKTRACE

  • Variable *DATE-TIME-FORMAT*
    "%y-%m-%d-%h:%m"
    The default format to use when printing dates and times. * %% - A '%' character * %d - Day of the month as a decimal number [01-31] * %e - Same as %d but does not print the leading 0 for days 1 through 9 [unlike strftime[], does not print a leading space] * %H - Hour based on a 24-hour clock as a decimal number [00-23] *%I - Hour based on a 12-hour clock as a decimal number [01-12] * %m - Month as a decimal number [01-12] * %M - Minute as a decimal number [00-59] * %S - Second as a decimal number [00-59] * %w - Weekday as a decimal number [0-6], where Sunday is 0 * %y - Year without century [00-99] * %Y - Year with century [such as 1990] This code is borrowed from the `format-date` function in [metatilities-base][].
  • Function PRINT-CONDITION (condition stream)
    Print `condition` to `stream` using the pretty printer.
  • Function PRINT-BACKTRACE (error &key (output *debug-io*) (if-exists :append) (verbose nil))
    Send a backtrace for the error `error` to `output`. The keywords arguments are: * :output - where to send the output. This can be: * a string (which is assumed to designate a pathname) * an open stream * nil to indicate that the backtrace information should be returned as a string * if-exists - what to do if output designates a pathname and the pathname already exists. Defaults to :append. * verbose - if true, then a message about the backtrace is sent to \*terminal-io\*. Defaults to `nil`. If the `output` is nil, the returns the backtrace output as a string. Otherwise, returns nil.
  • Function PRINT-BACKTRACE-TO-STREAM (stream)
  • Function MAP-BACKTRACE (function)
  • Function BACKTRACE-STRING (&rest args)
  • Function PRINT-BACKTRACE-TO-STREAM (stream)
  • Function PRINT-BACKTRACE-TO-STREAM (stream)