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

Add log method for printing output programmatically #8

Open
wjcrowcroft opened this issue Oct 25, 2011 · 1 comment
Open

Add log method for printing output programmatically #8

wjcrowcroft opened this issue Oct 25, 2011 · 1 comment

Comments

@wjcrowcroft
Copy link
Member

Currently the only way to print a log method is to use

sandbox.model.addHistory({
    command: "",
    result: "log message"
});

And it adds a blank line above the output because of the empty command. Planning to add a Model.log() method to make this nicer.

@JogoShugh
Copy link

This would be cool. Any tips on how to implement this?

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

2 participants