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

remove before log (or error/info/etc) together option #65

Open
lacivert opened this issue Apr 15, 2015 · 2 comments
Open

remove before log (or error/info/etc) together option #65

lacivert opened this issue Apr 15, 2015 · 2 comments

Comments

@lacivert
Copy link

Sometimes there is a need of two or more logs one after another. So the second log must appear without waiting the first one. We can do this with remove() method:

humane.error("something wrong happened...");

(by the way another wrong happens, so log must appear and no wait:)

humane.remove();
humane.error("another wrong...");

It would be nice if there was an option something like

humane.dontWaitForDisappear = true 

and we didn't have to call "remove()" method again and again

@wavded wavded self-assigned this Apr 15, 2015
@wavded
Copy link
Owner

wavded commented Apr 16, 2015

hmm... but don't the notifications overlap each other?

@wavded wavded removed their assignment Apr 16, 2015
@lacivert
Copy link
Author

it may be, so I recommend it as an "option".

It may be also a parameter;

var dontWait = true;
humane.error( "something wrong", dontWait );

What do you think?

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