Commit 9cf8ec0b authored by Adrien Oliva's avatar Adrien Oliva

build(release): Release 1.0.0 preparation

- Update AUTHORS
- Update README
- Update ChangeLog
- Update NEWS
- Fix include path
parent 70bba72d
Pipeline #220 passed with stages
in 1 minute and 20 seconds
1 Adrien Oliva <olivaa+gitlab@yapbreak.fr>
7 Adrien Oliva <olivaa+gitlab@yapbreak.fr>
# ChangeLog
2018-07-17 Adrien Oliva <olivaa@yapbreak.fr>
* Initial release of libyaplog
2018-07-17 Adrien Oliva <olivaa@yapbreak.fr>
* GTLAB #3 - Remove CSER reference
2018-07-12 Adrien Oliva <olivaa@yapbreak.fr>
* GTLAB #2 - Improve test
* GTLAB #1 - Import logger from libcomserial
# NEWS
## Version 1.0.0
* initial release
[![pipeline status](https://gitlab.yapbreak.fr/libraries/libyaplog/badges/master/pipeline.svg)](https://gitlab.yapbreak.fr/libraries/libyaplog/commits/master)
[![coverage report](https://gitlab.yapbreak.fr/libraries/libyaplog/badges/master/coverage.svg)](https://gitlab.yapbreak.fr/libraries/libyaplog/commits/master)
This library is released under the terms of WTF-PL:
# Purpose
```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
This directory contains the source code of Yaplog library.
The YapLog library is a free software. See COPYING file for copying permission.
Copyright (C) 2018 Adrien Oliva <olivaa+gitlab@yapbreak.fr>
It provides a basic logger functionnality for C++ application.
See files in samples folder for example on how to use it.
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
# Installation
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
To compile and install the library, simply run the following commands:
0. You just DO WHAT THE FUCK YOU WANT TO.
```bash
./autogen.sh
./configure
make
make check # (optional)
make doc # (generate documentation)
sudo make install
```
......@@ -2,6 +2,7 @@
#define YAPLOG_H_UGV90DZC
#include <yaplog/internallog.h>
#include <yaplog/dump.h>
/**
* @brief Fatal log macro utility to print a fatal message on stderr.
......
......@@ -10,4 +10,5 @@ libinternalyaplog_la_SOURCES += internallog.cpp
libinternalyaplog_la_SOURCES += level.h
libinternalyaplog_la_SOURCES += loglocation.h
include_HEADERS = dump.h internallog.h level.h loglocation.h
yaplogdir = $(includedir)/yaplog
yaplog_HEADERS = dump.h internallog.h level.h loglocation.h
......@@ -80,9 +80,3 @@ std::string dump::get_formatted_string() const
return output.str();
}
inline std::ostream &operator<<(std::ostream &out, const dump &data)
{
out << data.get_formatted_string();
return out;
}
......@@ -52,7 +52,11 @@ namespace logger {
*
* @return Reference to the used output stream.
*/
inline std::ostream &operator<<(std::ostream &out, const dump &data);
inline std::ostream &operator<<(std::ostream &out, const dump &data)
{
out << data.get_formatted_string();
return out;
}
};
#endif /* end of include guard: YAPLOG_DUMP_H_9LPSDK6A */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment