Liking cljdoc? Tell your friends :D

zeph.logging

Logging integration for Zeph using Timbre.

Usage: (require '[zeph.logging :as log])

;; Initialize Timbre as the logger (log/init!)

;; Use standard Timbre logging (log/info "Server started") (log/error "Connection failed" {:error e})

;; Configure log level (log/set-level! :debug)

Logging integration for Zeph using Timbre.

Usage:
  (require '[zeph.logging :as log])

  ;; Initialize Timbre as the logger
  (log/init!)

  ;; Use standard Timbre logging
  (log/info "Server started")
  (log/error "Connection failed" {:error e})

  ;; Configure log level
  (log/set-level! :debug)
raw docstring

configure-development!clj

(configure-development!)

Configure logging for development use.

Configure logging for development use.
sourceraw docstring

configure-production!clj

(configure-production!)

Configure logging for production use.

Configure logging for production use.
sourceraw docstring

console-appenderclj

(console-appender {:keys [output-fn] :or {output-fn :inherit}})

Create a console appender with custom options.

Create a console appender with custom options.
sourceraw docstring

debugcljmacro

(debug & args)

Log at DEBUG level.

Log at DEBUG level.
sourceraw docstring

default-output-fnclj

Default output format: timestamp level namespace - message

Default output format: timestamp level namespace - message
sourceraw docstring

errorcljmacro

(error & args)

Log at ERROR level.

Log at ERROR level.
sourceraw docstring

file-appenderclj

(file-appender path & {:keys [output-fn] :or {output-fn :inherit}})

Create a file appender.

Create a file appender.
sourceraw docstring

infocljmacro

(info & args)

Log at INFO level.

Log at INFO level.
sourceraw docstring

init!clj

(init!)

Initialize Timbre as the log handler for Java code. Call this at application startup.

Initialize Timbre as the log handler for Java code.
Call this at application startup.
sourceraw docstring

reset!clj

(reset!)

Reset to default System.out/err logging.

Reset to default System.out/err logging.
sourceraw docstring

set-config!clj

(set-config! config)

Set Timbre configuration map.

Set Timbre configuration map.
sourceraw docstring

set-level!clj

(set-level! level)

Set the minimum log level.

Set the minimum log level.
sourceraw docstring

tracecljmacro

(trace & args)

Log at TRACE level.

Log at TRACE level.
sourceraw docstring

warncljmacro

(warn & args)

Log at WARN level.

Log at WARN level.
sourceraw docstring

with-contextcljmacro

(with-context context & body)

Execute body with additional logging context.

Execute body with additional logging context.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close