Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flagarde/elogpp
Wrapper for elog https://elog.psi.ch/elog/
https://github.com/flagarde/elogpp
cpp cross-platform elog standalone wrapper
Last synced: about 1 month ago
JSON representation
Wrapper for elog https://elog.psi.ch/elog/
- Host: GitHub
- URL: https://github.com/flagarde/elogpp
- Owner: flagarde
- License: mit
- Created: 2021-03-19T12:10:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T11:22:38.000Z (8 months ago)
- Last Synced: 2024-04-25T12:32:36.950Z (8 months ago)
- Topics: cpp, cross-platform, elog, standalone, wrapper
- Language: C++
- Homepage:
- Size: 212 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elogpp
Wrapper for elog https://elog.psi.ch/elog/
## Goal
elogpp allows user to send and retrieve/parse entry from an elog server (see example).
> [📖 Documentation](https://flagarde.github.io/elogpp/) [![Docs](https://github.com/flagarde/elogpp/actions/workflows/Docs.yml/badge.svg)](https://github.com/flagarde/elogpp/actions/workflows/Docs.yml)
[LC]: https://github.com/flagarde/elogpp/actions/workflows/Linux-Clang.yml
[LCB]: https://github.com/flagarde/elogpp/actions/workflows/Linux-Clang.yml/badge.svg[LG]: https://github.com/flagarde/elogpp/actions/workflows/Linux-GCC.yml
[LGB]: https://github.com/flagarde/elogpp/actions/workflows/Linux-GCC.yml/badge.svg[MC]: https://github.com/flagarde/elogpp/actions/workflows/MacOS-Clang.yml
[MCB]: https://github.com/flagarde/elogpp/actions/workflows/MacOS-Clang.yml/badge.svg[MG]: https://github.com/flagarde/elogpp/actions/workflows/MacOS-GCC.yml
[MGB]: https://github.com/flagarde/elogpp/actions/workflows/MacOS-GCC.yml/badge.svg[MS]: https://github.com/flagarde/elogpp/actions/workflows/Windows-MSYS2.yml
[MSB]: https://github.com/flagarde/elogpp/actions/workflows/Windows-MSYS2.yml/badge.svg[MM]: https://github.com/flagarde/elogpp/actions/workflows/Windows-MSVC.yml
[MMB]: https://github.com/flagarde/elogpp/actions/workflows/Windows-MSVC.yml/badge.svg## Builds
| | Linux Clang | Linux GCC | MacOS Clang | MacOS GCC | Windows M2sys | Windows MSVC |
|--------|-------------|-----------|-------------|-----------|---------------|--------------|
| Github |[![Linux Clang][LCB]][LC]|[![Linux GCC][LGB]][LG]|[![MacOS Clang][MCB]][MC]|[![MacOS GCC][MGB]][MG]|[![Windows MSYS2][MSB]][MS]|[![Windows MSVC][MMB]][MM]|## Use
* Write a configuration file :
```json
{
"ElogServers":
[
{
"Name":"Elog",
"Description":"Elog test server",
"Hostname":"localhost",
"Port":"8080",
"SSL":false,
"Logbooks":
[
{"Name":"demo", "Description":"demo"}
]
}
],
"ElogUsers":
[
{"Name":"toto","Password":"123456"}
]
}
```* Export this configuration :
```bash
export ELOG_CONFIG_PATH=path
export ELOG_CONFIG_FILE=Elog.json
```## Example :
```cpp
#include "ElogManager.hpp"
#includeusing namespace elogpp;
int main()
{
ElogManager manager;
manager.print();
ElogEntry entry= manager.createEntry();
std::cout<<"*****************************************************"<