Perhaps, you can use this http://api.dartlang.org/docs/channels/stable/latest/logging.html