Skip to main content

Use the 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.