https://github.com/gashmob/logger
Un simple système de logger dans plusieurs langages. Chaque version utilise le même concept.
https://github.com/gashmob/logger
c cpp java kotlin logger python
Last synced: over 1 year ago
JSON representation
Un simple système de logger dans plusieurs langages. Chaque version utilise le même concept.
- Host: GitHub
- URL: https://github.com/gashmob/logger
- Owner: Gashmob
- License: gpl-3.0
- Created: 2022-05-15T17:43:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T10:05:22.000Z (almost 4 years ago)
- Last Synced: 2023-03-10T00:47:19.358Z (over 3 years ago)
- Topics: c, cpp, java, kotlin, logger, python
- Language: C++
- Homepage:
- Size: 333 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Logger
Un simple système de logger dans plusieurs langages. Chaque version utilise le même concept.
Avec l'aide de [RomainTHD](https://github.com/RomainTHD) pour la version originale en Java, et l'aide de [ArthurBajt](https://github.com/ArthurBajt) pour la version Python.
## Tests
Les tests sont les mêmes pour chaque version, ils sont effectués sur ubuntu, windows et macos.
[](https://github.com/Gashmob/Logger/actions/workflows/java_test.yml)
[](https://github.com/Gashmob/Logger/actions/workflows/kotlin_test.yml)
[](https://github.com/Gashmob/Logger/actions/workflows/python_test.yml)
[](https://github.com/Gashmob/Logger/actions/workflows/cpp_test.yml)
[](https://github.com/Gashmob/Logger/actions/workflows/c_test.yml)
[](https://github.com/Gashmob/Logger/actions/workflows/go_test.yml)
| | Ubuntu | Windows | MacOS |
|:---------|:----------------:|:----------------:|:----------------:|
|**Java** |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|**Kotlin**|:heavy_check_mark:|:x: |:heavy_check_mark:|
|**Python**|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|**C++** |:heavy_check_mark:|:x: |:x: |
|**C** |:heavy_check_mark:|:x: |:x: |
|**Go** |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
**Notes :**
- Le test Windows pour Kotlin ne fonctionne pas : `kotlinc` n'arrive pas à compiler les sources dans le script batch (si vous avez une idée de comment fixer ça, n'hésitez pas à proposer une pull request, ou répondre à l'issue [#2](https://github.com/Gashmob/Logger/issues/2)).
- Le test Windows pour C++ ne fonctionne pas : la compilation réussie mais l'exécutable renvoie directement le code 1 sans rien afficher ([#3](https://github.com/Gashmob/Logger/issues/3)) (de même pour le C).
## Utilisation
### Java & Kotlin
Une archive jar (`Logger_Java.jar` & `Logger_Kotlin.jar`) est à disposition et utilisable en tant que librairie externe.
### C & C++ & Python & Go
Il suffit de récupérer le dossier `logger` dans les dossiers `C`, `C++`, `Python` et `Go`.