Use the Logging view

Learn how to use the DevTools logging view.

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.

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

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.

Was this page's content helpful?