Liking cljdoc? Tell your friends :D

monkey.ci.logging

Handles log configuration and how to process logs from a build script

Handles log configuration and how to process logs from a build script
raw docstring

->configclj

(->config conf)
source

handle-process-streamsclj

(handle-process-streams {:keys [out err] :as proc} loggers)

Given a process return value (as from babashka.process/process) and two loggers, will invoke the handle-stream on each logger for out and error output. Returns the process.

Given a process return value (as from `babashka.process/process`) and two
loggers, will invoke the `handle-stream` on each logger for out and error
output.  Returns the process.
sourceraw docstring

LogCapturercljprotocol

Used to allow processes to store log information. Depending on the implementation, this can be local on disk, or some cloud object storage.

Used to allow processes to store log information.  Depending on the implementation,
this can be local on disk, or some cloud object storage.

handle-streamclj

(handle-stream this in)

Does some async processing on a stream, if necessary

Does some async processing on a stream, if necessary

log-outputclj

(log-output this)

Returns something that can be passed to child processes for logging

Returns something that can be passed to child processes for logging
sourceraw docstring

LogRetrievercljprotocol

Interface for retrieving log files. This is more or less the opposite of the LogCapturer. It allows to list logs and fetch a log according to path.

Interface for retrieving log files.  This is more or less the opposite of the `LogCapturer`.
It allows to list logs and fetch a log according to path.

fetch-logclj

(fetch-log this build-sid path)

Retrieves log for given build id and path. Returns a stream and its size.

Retrieves log for given build id and path.  Returns a stream and its size.

list-logsclj

(list-logs this build-sid)

Lists available logs for the build id, with name and size

Lists available logs for the build id, with name and size
sourceraw docstring

make-log-retrievercljmultimethod

source

make-loggercljmultimethod

source

sid->pathclj

(sid->path {:keys [prefix]} path sid)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close