Liking cljdoc? Tell your friends :D

ont-app.graph-log.core


annotate!clj/s

(annotate! element & args)
source

archive-pathclj

(archive-path g)
source

compare-shared-entriesclj/s

(compare-shared-entries g1 g2)
source

default-log-levelclj/s

source

empty-graphclj/s

source

entriesclj/s

(entries)
(entries entry-type)
(entries g entry-type)

Returns [<entry-id>, ...] for entry-type in g ordered by :glog/executionOrder Where <entry-id> is a KWI identifying a log event in <g> <g> is an optional IGraph supporting the logging ontology, (default log-graph) This is typically either the current log-graph or a copy of the log-grpah from a previous session. <entry-type> is :all or the ID of some entry type.

Returns [<entry-id>, ...] for `entry-type` in `g` ordered by :glog/executionOrder
Where
<entry-id> is a KWI identifying a log event in <g>
<g> is an optional IGraph supporting the logging ontology, (default log-graph)
  This is typically either the current log-graph or a copy of the log-grpah
  from a previous session.
<entry-type> is :all or the ID of some entry type.
sourceraw docstring

entry-countclj/s

(entry-count)
(entry-count g)

Returns the number of entries in g (default @log-graph)

Returns the number of entries in `g` (default @log-graph)
sourceraw docstring

find-divergenceclj/s

(find-divergence log1 log2)
source

ith-entryclj/s

(ith-entry i)
(ith-entry g i)

Returns [<entry-id> <description>] for ith execution order in g (default @graph-log) Where <entry-id> is keyword naming the entry <description> is the normal-form description of <entry-id> in <g> <g> is a log-graph (the current one by default)

Returns [<entry-id> <description>] for ith execution order  in `g`
  (default @graph-log)
Where
<entry-id> is keyword naming the entry
<description> is the normal-form description of <entry-id> in <g>
<g> is a log-graph (the current one by default)
sourceraw docstring

level-prioritiesclj/s

Caches level priorities

Caches level priorities
sourceraw docstring

level>=clj/s

(level>= this-level that-level)

Returns true iff this-level has priority >= that-level Where <this-level> e.g. :glog/INFO <that-level> e.g. :glog/DEBUG

Returns true iff `this-level` has priority >= `that-level`
Where
<this-level> e.g. :glog/INFO
<that-level> e.g. :glog/DEBUG
sourceraw docstring

log!clj/s

(log! entry-type & args)
source

log-graphclj/s

source

log-messageclj/s

(log-message message entry-id)
source

log-reset!clj/s

(log-reset!)
(log-reset! initial-graph)

Side-effect: resets @log-graph to initial-graph Side-effect: if (initial-graph:glog/SaveToFn igraph/compiledAs <path-fn>), the previous contents of the graph will be spit'd to <output-path> Where <initial-graph> is an IGraph, informed by ont-app.graph-log.core/ontology <fn> := fn [g] -> <output-path> <output-path> is a valid path specification , possibly starting with file://

Side-effect: resets @log-graph to `initial-graph`
Side-effect: if (initial-graph:glog/SaveToFn igraph/compiledAs <path-fn>),
  the previous contents of the graph will be spit'd to <output-path>
Where
<initial-graph> is an IGraph, informed by ont-app.graph-log.core/ontology
<fn> := fn [g] -> <output-path>
<output-path> is a valid path specification , possibly starting with file://
sourceraw docstring

log-value!clj/s

(log-value! entry-type value)
(log-value! entry-type other-args value)

Returns value Side effect: logs <id> :glog/value value, plus other-args into log-graph Where <

Returns `value`
Side effect: logs <id> :glog/value `value`, plus `other-args` into log-graph
Where
<
sourceraw docstring

ontologyclj/s

source

query-logclj/s

(query-log q)
(query-log g q)

Returns [<bmap>, ....] for q posed to optional g Where <bmap> := {<var> <value>, ...} bindings to <q> posed to <g> <q> is a query in a format amenable to <g> <g> is an IGraph supporting the graph-log vocabulary (default @log-graph)

Returns [<bmap>, ....] for `q` posed to optional `g`
Where
<bmap> := {<var> <value>, ...} bindings to <q> posed to <g>
<q> is a query in a format amenable to <g>
<g> is an IGraph supporting the graph-log vocabulary (default @log-graph)
sourceraw docstring

remove-timestampsclj/s

(remove-timestamps)
(remove-timestamps g)

Spurious difference between two logs

Spurious difference between two logs
sourceraw docstring

remove-variant-valuesclj/s

(remove-variant-values)
(remove-variant-values g)

Returns g, removing/replacing values which would naturally vary between sessions. These would give rise to spurious differences between two otherwise identical logs. Timestamps are removed, and compiled objects are replaced with :compiled Where <g> is an optional log-graph from the current or past sessions. Default is current @log-graph

Returns `g`, removing/replacing values which would naturally vary between sessions.
These would give rise to spurious differences between two otherwise identical
  logs. Timestamps are removed, and compiled objects are replaced with
  :compiled
Where
<g> is an optional log-graph from the current or past sessions. Default
  is current @log-graph
sourceraw docstring

report-divergenceclj/s

(report-divergence g1 g2)
source

save-to-archiveclj

(save-to-archive g)
source

(search inc-or-dec test g c found q)
source

search-backwardclj/s

(search-backward test)
(search-backward test start)
(search-backward g test start)

Searches the log backward for a match to test, starting at start Where <test> := fn [g entry] -> boolean <start> is an integer indexing the (entries g) (default end of entries) <g> is the log-graph

Searches the log backward for a match to `test`, starting at `start`
Where
<test> := fn [g entry] -> boolean
<start> is an integer indexing the (entries g) (default end of entries)
<g> is the log-graph
sourceraw docstring

search-forwardclj/s

(search-forward test)
(search-forward test start)
(search-forward g test start)

Searches the log forward for a match to test starting at start Where <test> := fn [g entry] -> boolean <start> is an integer indexing (entries g) (default 0) <g> is the log-graph

Searches the log forward for a match to `test` starting at `start`
Where
<test> := fn [g entry] -> boolean
<start> is an integer indexing (entries g) (default 0)
<g> is the log-graph
sourceraw docstring

set-level!clj/s

(set-level! element level)
source

showclj/s

(show entry-id)
(show g entry-id)

Returns contents of entry-id for optional g Where <entry-id> is the KWI of an entry <g> is a log-graph (default @log-graph)

Returns contents of `entry-id` for optional `g` 
Where
<entry-id> is the KWI of an entry
<g> is a log-graph (default @log-graph)
sourceraw docstring

theclj/s

source

timestampclj/s

(timestamp)
source

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

× close