X Logger
X Logger is a Golang library that provides a simple and efficient way to manage logging in your applications. It allows you to easily configure loggers, format log messages, and handle different logging levels (debug, info, warning, error, critical) with ease.
Global Architecture
flowchart
S(Server) --> M(MCP)
S --> |http|C(Chi HTTP)
S --> |cron|T(Ticker)
Architecture
sequenceDiagram
autonumber
actor U as User
participant F@{type: "entity"} as File
participant T as Ticker
participant C@{type: "entity"} as Claude
participant R@{type: "database"} as Redis
participant M as MCPServer
U->>F: Log message (info, warning, error)
par message analysis
F<<-->>T: Analyze file
T->>R: Store log message
end
U->>C: Query logs
C->>M: Retrieve relevant log messages
M->>R: Get log messages
R->>C: Return messages