Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileOutput is undefined_method #153

Open
jin831 opened this issue Dec 30, 2022 · 0 comments
Open

FileOutput is undefined_method #153

jin831 opened this issue Dec 30, 2022 · 0 comments

Comments

@jin831
Copy link

jin831 commented Dec 30, 2022

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 #51)

can you import this method in pakage?

I am not good at English
I ask for your understanding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant