An open API service indexing awesome lists of open source software.

https://github.com/smartiniongithub/log4v

Logging framework for V
https://github.com/smartiniongithub/log4v

vlang vlang-module

Last synced: 4 months ago
JSON representation

Logging framework for V

Awesome Lists containing this project

README

          

# log4v

[![Apache 2.0 License](https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat)](./LICENSE)

Logging framework for V.

For changes and release notes, see [CHANGELOG](./CHANGELOG.md).

## Setup and run

Get the module via `vpm`:
```bash
v install smartiniOnGitHub.log4v
```
then use by importing it.
Note that some stuff has to be imported from v 'log' module.

## Examples
Examples can be found it the [`/examples`](/examples) directory.

## Requirements

Latest V (vlang) stable, or built from latest sources.

## Sources

Source code is all inside main repo:
[log4v](https://smartiniOnGitHub@github.com/smartiniOnGitHub/log4v).

Documentation generated from source code (library API):
[here](https://smartiniongithub.github.io/log4v/).

## Note

In the code, there are references to V integrated 'log' module,
for better compliance and reuse of existing code.

Current setup (and related commands) are for a Linux system,
but can be updated for other platforms (Mac, Windows, etc).

## Contributing

1. Fork it ( https://github.com/smartiniOnGitHub/log4v/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## License

Licensed under [Apache-2.0](./LICENSE).

----