/log4v

Logging framework for V

Primary LanguageVApache License 2.0Apache-2.0

log4v

Apache 2.0 License

Logging framework for V.

For changes and release notes, see CHANGELOG.

Setup and run

Get the module via vpm:

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 directory.

Requirements

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

Sources

Source code is all inside main repo: log4v.

Documentation generated from source code (library API): here.

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.