#logging #elara #elara-log-ng

elara-log-ng

Project Elara's lightweight logging library for general-purpose use

3 releases

new 0.1.2 Apr 12, 2025
0.1.1 Apr 12, 2025
0.1.0 Apr 12, 2025

#464 in #logging


Used in elara-math

Unlicense

11KB
185 lines

elara-log

Note: This library is listed under the name elara-log-ng on crates.io, to avoid a naming conflict with a previous version of this library. We understand this can cause a lot of confusion, so please refer to the detailed instructions in our docs on how to use the library and install it properly.

elara-log is a minimalist and lightweight logger, developed for Project Elara's suite of libraries and applications. See the docs for a usage overview.

elara-log is public domain software like the rest of Project Elara, meaning it is essentially unlicensed software, so you can use it for basically any project you want, however you want, with or without attribution.

Platform compatibility

The library should work fine on most relatively modern PCs (2010+), and probably also works for a lot of older systems as well, since it just needs support for ANSI escape codes (which is generally supported on most systems). For specific platforms:

  • Tested on macOS and Linux and should work without issues on either
  • Tested on Windows 10 with Powershell and Git Bash, both work, although the colors do not contrast well with Powershell's default console UI, so it is highly recommended to use the open-source and free Windows Terminal and selecting the One Half Dark theme (or in general, any greyish-dark theme) in its appearance settings (which looks nicer anyways)

Dependencies

~9KB