Exemplo n.º 1
0
def event_history_raw():
    return jsonify(EventLogger.get_log())
Exemplo n.º 2
0
def event_history():
    events = EventLogger.get_log(int(request.args.get("n", 100)))
    if events:
        return render_template("history.html", events=events)
    return "No history"