LOG-MESSAGE (LEVEL FORMAT-CONTROL &REST FORMAT-ARGS)
Output a log if the log level is more than `*logger-min-level*'. Log level must be a integer 0-7, or a keyword represents log level. Example: (log-message :warning "Something wrong.")
FORMAT-TIMESTRING (DESTINATION TIMESTAMP &KEY (FORMAT +ISO-8601-FORMAT+) (TIMEZONE *DEFAULT-TIMEZONE*))
Constructs a string representation of TIMESTAMP according to FORMAT and returns it. If destination is T, the string is written to *standard-output*. If destination is a stream, the string is written to the stream. FORMAT is a list containing one or more of strings, characters, and keywords. Strings and characters are output literally, while keywords are replaced by the values here: :YEAR *year :MONTH *numeric month :DAY *day of month :HOUR *hour :MIN *minutes :SEC *seconds :WEEKDAY *numeric day of week starting from index 0, which means Sunday :MSEC *milliseconds :USEC *microseconds :NSEC *nanoseconds :LONG-WEEKDAY long form of weekday (e.g. Sunday, Monday) :SHORT-WEEKDAY short form of weekday (e.g. Sun, Mon) :LONG-MONTH long form of month (e.g. January, February) :SHORT-MONTH short form of month (e.g. Jan, Feb) :HOUR12 hour on a 12-hour clock :AMPM am/pm marker in lowercase :GMT-OFFSET the gmt-offset of the time, in +00:00 form :GMT-OFFSET-OR-Z like :GMT-OFFSET, but is Z when UTC :TIMEZONE timezone abbrevation for the time Elements marked by * can be placed in a list in the form: (:keyword padding &optional (padchar #0)) The string representation of the value will be padded with the padchar. You can see examples in +ISO-8601-FORMAT+, +ASCTIME-FORMAT+, and +RFC-1123-FORMAT+.
Convert a keyword that represents a log level into a number. Example: (keyword->loglevel :notice) ;;=> 2
Log level is an integer or a keyword.
Returns a timestamp representing the present moment.
DEPRECATED: use *logger-output-hook* for instead. Output broadcast stream for loggers.
Callback function which will be invoked when logging.
Format list of timestamp in log messages. This is the same as LOCAL-TIME. Default: 11/Feb/2011:03:37:39 +09:00
Log format string for cl:format. Example: 11/Feb/2011:03:37:39 +09:00 [CRITICAL] Help me!!