Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aga-beacon

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aga-beacon

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Aga-beacon

Aga-beacon is a Ruby gem that provides a convenient way to handle log files. It allows you to write log messages, read log files, clean up log files, and calculate the size of log files in bytes. With this gem, you can efficiently manage log files and extract valuable information from them.

Features

  • Write log messages to a log file, including timestamps and customizable log levels.
  • Read log files and extract log entries based on specific criteria, such as date range or log level.
  • Clean up log files by removing old or unnecessary log entries to optimize file size.
  • Calculate the size of log files in bytes, providing insights into the log file's storage requirements.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add aga-beacon

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install aga-beacon

Usage

To use Aga-beacon in your application, require the gem and start making requests. Here's a basic example:

irb

require 'beacon'

b = Beacon::Service.instance
b.info('Info') # Output:  [2023-07-25T21:10:47.656630 #65059]  INFO -- : Info
b.error('Error') # Output: [2023-07-25T21:11:39.089020 #65059] ERROR -- : Error

Contributing

Contributions to Aga-beacon are welcome! If you encounter any issues or have suggestions for improvements, please submit an issue on the repository. Pull requests are also encouraged.

Private License

Version 0.0.2, 01/06/2023

By obtaining a copy of this software and associated documentation files (the "Software"), you agree that the Software is proprietary to AIGreenAnt and is protected under intellectual property laws. This license grants you limited rights to use the Software solely for internal purposes within your organization.

  1. License Grant

    1.1 You are granted a non-exclusive, non-transferable license to use the Software for internal purposes only.

    1.2 You may not distribute, sublicense, sell, or transfer the Software to any third party without prior written permission from AIGreenAnt.

  2. Intellectual Property

    2.1 The Software and any associated intellectual property rights, including but not limited to copyrights, patents, trademarks, trade secrets, and any other proprietary rights, are and shall remain the exclusive property of AIGreenAnt.

    2.2 You may not remove, alter, or obscure any proprietary notices or labels on the Software.

  3. Limitation of Liability

    3.1 In no event shall AIGreenAnt be liable for any direct, indirect, incidental, special, or consequential damages arising out of the use or inability to use the Software, even if AIGreenAnt has been advised of the possibility of such damages.

  4. Termination

    4.1 This license is effective until terminated. AIGreenAnt may terminate this license at any time if you fail to comply with the terms and conditions of this agreement.

    4.2 Upon termination, you must immediately cease all use of the Software and destroy all copies in your possession or control.

  5. Governing Law

    5.1 This license shall be governed by and construed in accordance with the laws of Italy, without regard to its conflict of laws principles.

FAQs

Package last updated on 14 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc