Skip to content

Releases: atom-enginee/output-module

v1.0.0

24 Apr 05:50
ecd9580

Choose a tag to compare

Lua Debug Library Release v1.0.0


We are excited to announce the release of the Lua Debug Library version 1.0.0! This initial release provides robust debugging tools tailored for Lua developers, making logging and managing debug outputs easier and more structured. Below are the details of what’s included in this version:


Features

  • Multiple Log Levels: Includes logging levels like LOG, WARNING, and ERROR to differentiate the severity of messages.
  • Instance-based Logging: Create multiple debugging instances, each with its own name and log, allowing for segmented and organized debugging across different parts of your application.
  • Flexible Logging: Each logging function can handle multiple arguments, concatenating them into a single string for clarity.
  • Log Retrieval: Access all logs stored in any debug instance, useful for analysis or reporting bugs.

Enhancements

  • Improved Performance: Optimized internal log handling to reduce memory usage and increase performance when logging extensive data.
  • Enhanced Usability: Simplified API makes it straightforward to integrate into existing Lua projects.

Bug Fixes

  • Memory Leak Fix: Addressed a critical memory leak that occurred during the creation of multiple debug instances.
  • Error Handling: Enhanced error handling in the logging functions to prevent crashes when incorrect data types are provided.

Installation

To integrate Lua Debug Library into your project, follow these steps:

  1. Clone the repository or download the latest release.
  2. Include debug.lua in your project directory.
  3. Require the debug module in your Lua scripts as shown.
local debug = require("path/to/debug")

Getting Started
To get started with the Lua Debug Library, create a debug instance and begin logging:

local debugger = debug.new("MyDebugger")
debugger:log("Initialization complete.")
debugger:warning("This is a warning.")
debugger:error("This is an error.")

Contributing

Contributions are welcome! If you have improvements or bug fixes, please fork the repository and submit a pull request.


License

The Lua Debug Library is open-sourced under the MIT License, which allows for wide-ranging flexibility in using and modifying the software.


Support

For support, feature requests, or more information, please visit our GitHub repository.

This release sets the foundation for robust debugging in Lua projects, aiming to make developers' lives easier with efficient and easy-to-use logging functionalities. Enjoy the new release, and we look forward to your feedback and contributions!