Logging

Logging is the core feature of LogHub, designed to give you deep insights into the performance and activity of your projects. With LogHub, you can track and visualize incoming logs in real time, allowing you to monitor application health, detect errors, and keep an eye on critical processes.

Each log entry in LogHub has different fields that can be set by you.

  • Type: Give the log a type like ERROR or SUCCESS to directly visualize the outcome of your action
  • Function: This feature allows you to differentiate logs coming from different parts of your project
  • Message: The actual log message can be anything you want from a String, a Number to JSON or a serialized Object
  • URL: A url where the event/log occured or which url the log is related to *optional
  • Parent: Set a parent log for your log entry to add this log to a trail of logs.

This segmentation is incredibly useful for large projects or complex applications where multiple processes generate logs. By assigning meaningful types and functions, you can better organize and analyze logs within the same project. This makes it easy to focus on specific logs, quickly identifying errors or understanding user actions across different parts of your system.

By logging strategically, you can stay ahead of issues, track key metrics, and ensure your systems are running smoothly at all times.