flutter-fimber icon indicating copy to clipboard operation
flutter-fimber copied to clipboard

Add DebugTree option with DevTools logging

Open magillus opened this issue 4 years ago • 2 comments

See: https://flutter.dev/docs/testing/code-debugging#logging use:

import 'dart:developer' as developer;

developer.log(
    'log me',
    name: 'my.app.category',
    error: jsonEncode(myCustomObject),
  );

magillus avatar Jan 03 '20 20:01 magillus

Cool idea, the debugger on dev tools is pretty nice compared to the one from the console

danielgomezrico avatar Feb 01 '22 18:02 danielgomezrico

Why this helps? I can see the logs in the debugger using the current DebugTree:

image

danielgomezrico avatar Feb 10 '22 23:02 danielgomezrico