Skip to main content

Flutter 3.44 is here!
Watch What's new in Flutter and read the blog post.

Use the Logging view

Learn how to use the DevTools logging view.

What is it?

#

The logging view displays events from the Dart runtime, application frameworks (like Flutter), and application-level logging events.

Standard logging events

#

By default, the logging view shows:

  • Garbage collection events from the Dart runtime
  • Flutter framework events, like frame creation events
  • stdout and stderr from applications
  • Custom logging events from applications

Screenshot of a logging view

Logging from your application

#

To implement logging in your code, see the Logging section in the Debugging Flutter apps programmatically page.

Clearing logs

#

To clear the log entries in the logging view, click the Clear logs button.

Other resources

#

To learn about different methods of logging and how to effectively use DevTools to analyze and debug Flutter apps faster, check out a guided Logging View tutorial.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.