Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log out activities #20

Closed
searls opened this issue Aug 21, 2016 · 0 comments
Closed

Log out activities #20

searls opened this issue Aug 21, 2016 · 0 comments

Comments

@searls
Copy link
Member

searls commented Aug 21, 2016

Suture should log out when it's called and records something:

[<time>] Suture recorded a call to on your :foo seam to the :old path with arguments [1, 2, 3] and result 6

Can be configured by Suture.config (see #25) or ENV vars, but unlike other options, can't be set on a per-suture/verify basis b/c the logger is going to be a singleton (just to prevent config & reference leaking of Plan and TestPlan models further, esp. when logging in the absence of one)

Settings:

Suture.config({
  :log_level => "INFO",
  :log_file => nil,
  :log_stdout => true
})

SUTURE_LOG_LEVEL, SUTURE_LOG_FILE, and SUTURE_LOG_STDOUT should also work.

@searls searls added this to the Development Mode milestone Aug 21, 2016
@searls searls closed this as completed in 92ea6c2 Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant