Giter VIP home page Giter VIP logo

simple-logging-server's Introduction

> whoami

Hi, I'm Sean!

web-dev-guy?

  • ๐Ÿ‘จโ€๐Ÿ’ป Super interested in the development of full-stack web apps and everything bleeding-edge in the space.
  • ๐Ÿค Huge fan of open source software and a maintainer of Tanstack Router.
  • ๐ŸŒ Based in New Zealand ๐Ÿ‡ณ๐Ÿ‡ฟ (formerly from Sri Lanka ๐Ÿ‡ฑ๐Ÿ‡ฐ).
  • ๐Ÿ“– Pursuing my Masters @ Southern Institute of Technology.
  • ๐Ÿ‘จ๐Ÿผโ€๐Ÿซ Big advocate of the T3 Axioms.

Tech that hypes me up

Tanstack Router Shadcn UI TailwindCSS

Want to reach out?

You can find me on X / Twitter - @SeanCassiere

Thank you to my sponsors โค๏ธ

A big thank you to my sponsors who make it possible for me to focus on OSS.

tannerlinsleyย ruiaraujo012ย thomasballingerย 

simple-logging-server's People

Contributors

dependabot[bot] avatar seancassiere avatar

Watchers

 avatar  avatar

simple-logging-server's Issues

refactor: reorder the api routes

Log routes

  • GET /api/log - Fetch logs for service
  • POST /api/log - Create a new log for service
  • DELETE /api/log/purge - Delete logs past a time period for a service - ADMIN ONLY

Service routes

  • GET /api/service - Get all services registered - ADMIN ONLY
  • GET /api/service/{ServiceId} - Get service details - ADMIN ONLY

feat: add support for log levels

Description

Add support within the application for log levels for all logs that are being created.

Tentatively, the following log levels are to be considered for implementation.

  • Debug
  • Info
  • Warn
  • Error
  • Fatal

Suggested Solution

Perform a migration in the database to store a level attribute/field alongside each log, which should be spread across and into the system with the following features.

  • Accept a log level when creating a new record. The request field should be optional allowing for a defaulted value to be set upon creation.
  • Accept an optional parameter when requesting the logs for filtering the results by their corresponding level. An option for all should also be supported.
  • Return the new log level field on all requests that return the logs.

Alternatives

No response

Additional Context

Future development could include workflows for notifying a user periodically based on the log levels.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.