Skip to content

FileOutput is undefined_method #153

@jin831

Description

@jin831

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions