logger icon indicating copy to clipboard operation
logger copied to clipboard

FileOutput is undefined_method

Open jin831 opened this issue 2 years ago • 0 comments
trafficstars

I want to use 'FileOutput' method but it's undefined_method

code: Logger(output: FileOutput(file: File('my path')));

error : The method 'FileOutput' isn't defined for the type '_MyHomePageState'. Try correcting the name to the name of an existing method, or defining a method named 'FileOutput'

so, I solved it with

import 'package:logger/src/outputs/file_output.dart'; (refer to https://github.com/simc/logger/issues/51)

can you import this method in pakage?

I am not good at English I ask for your understanding

jin831 avatar Dec 30 '22 05:12 jin831