Skip to content

Commit

Permalink
timeline: enable via environment variable
Browse files Browse the repository at this point in the history
SNABB_TIMELINE_ENABLE
  • Loading branch information
eugeneia committed Mar 15, 2023
1 parent a382b1d commit 81a9e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/timeline.dasl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local shm = require("core.shm")
local lib = require("core.lib")

-- Set to true to enable timeline logging
enabled = false
enabled = (lib.getenv("SNABB_TIMELINE_ENABLE") and true) or false

-- Load a set of events for logging onto a timeline.
-- Returns a set of logging functions.
Expand Down

0 comments on commit 81a9e19

Please sign in to comment.