logs

package
v0.0.0-...-511e509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLevel

func GetLevel(c *echo.Context) error

GetLevel returns the current server log level.

func SetLevel

func SetLevel(c *echo.Context) error

SetLevel changes the server log level at runtime.

func Stream

func Stream(c *echo.Context) error

Stream serves an SSE endpoint that streams server log entries from the in-memory ring buffer. Query parameters:

level  – minimum log level (debug, info, warn, error). Default: debug.
since  – sequence cursor; only entries with sequence > since are sent.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL