https://github.com/borjaest/datalog
A data logger application in erlang
https://github.com/borjaest/datalog
datalog erlang reports
Last synced: 2 months ago
JSON representation
A data logger application in erlang
- Host: GitHub
- URL: https://github.com/borjaest/datalog
- Owner: BorjaEst
- License: gpl-3.0
- Created: 2020-03-11T14:09:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T19:22:11.000Z (about 6 years ago)
- Last Synced: 2025-10-25T14:51:28.499Z (8 months ago)
- Topics: datalog, erlang, reports
- Language: Erlang
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datalog
Set of tools to create reports!
## datalog module
Generate a .json where your maps are logged.
## reports module
Create nice progress bars in your ct:
```erlang
console_print(Data) ->
Report = reports:progress_line(2, Data, ?PROGRESS_BAR),
ct:print(Report ++ "\n").
```
```sh
----------------------------------------------------
2020-03-29 11:47:35.867
0 [....................] loss = ? ac = ?
----------------------------------------------------
2020-03-29 11:47:35.868
20 [==>.................] loss = ? ac = ?
----------------------------------------------------
2020-03-29 11:47:35.868
40 [====>...............] loss = ? ac = ?
```