Skip to content

Seq ​

SeqSink sends structured log events to Seq via the HTTP Ingest API. No extra dependencies required.

Installation ​

No extra dependencies are needed (stdlib only).

bash
uv add logly
bash
pip install logly

Usage ​

python
from logly import logger
from logly.integrations.seq import SeqSink

logger.add(
    SeqSink(
        server_url="http://localhost:5341",
    )
)

Full Example ​

python
from logly import logger
from logly.integrations.seq import SeqSink

logger.add(
    SeqSink(
        server_url="http://localhost:5341",
        api_key="your-api-key",
    ),
    level="INFO",
)

logger.info("Order placed", order_id="ord-456", total=99.99)
logger.warning("Stock low", product_widget=3)

Released under the MIT License.