Add logs to Logs page (#151)

* Add websocket connection

* Add logs to the log page

* Make debug color more readable

* Remove TODO from front page

* Put all log entries in latest first order

* Add filtering of log entries by level

* Limit log entries and throttle updates

* Fix logger not throttling broadcasts

* Remove now unnecessary UI-side log throttling

* Filter incoming logs by log level

* Make log view more terminal-like
This commit is contained in:
WithoutPants
2019-10-25 10:07:07 +11:00
committed by Leopere
parent d7271d75fc
commit f29509577a
15 changed files with 519 additions and 19 deletions

View File

@@ -37,6 +37,8 @@ type Query {
"""Organize scene markers by tag for a given scene ID"""
sceneMarkerTags(scene_id: ID!): [SceneMarkerTag!]!
logs: [LogEntry!]!
# Scrapers
"""Scrape a performer using Freeones"""
@@ -101,6 +103,8 @@ type Mutation {
type Subscription {
"""Update from the metadata manager"""
metadataUpdate: String!
loggingSubscribe: [LogEntry!]!
}
schema {