Handles log configuration and how to process logs from a build script
Handles log configuration and how to process logs from a build script
(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.
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-stream this in)
Does some async processing on a stream, if necessary
Does some async processing on a stream, if necessary
(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
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-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-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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close