Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.42 KB

kdb+ Core Libraries and Utilities

All the details related to this library can be found on the wiki:

Quick Start

To use the functionality within this repository straight away:

  1. Download the latest version, extract and cd into the root folder
  2. Start kdb+ with boot.q:
    • Linux: q $(pwd)/boot.q
    • Windows: q %CD%\boot.q

This initialisation script will load the cargs and log libraries automatically during boot. Additional libraries can be loaded via the --load-libs command line argument, or once the process is booted with the .require.lib function.

See the boot.q wiki page for more information on this initialisation and the require.q wiki page for more information on loading libraries into the process.

Example Output

> rlwrap $QHOME/l64/q $(pwd)/boot.q
...
Application root: /home/jas/git/kdb-common | kdb-common root: /home/jas/git/kdb-common
Library root location refreshed [ File Count: 61 ]
...
Library initialisation function detected [ Func: .log.init ]
Binding implementations to library interfaces [ Library: log ] [ Interfaces: 6 ]

Logging enabled [ Level: INFO ] [ Logger: .log.loggers.basic ] [ Formatter: .log.formatter.default ]

2021.11.04 08:58:26.877 INFO  pid-727 jas 0 Initialised library: log
q)