Skip to content

Make the Usage instrcutions better, currently only in README.md #5

Description

@enlighter
FL.init(new FLConfig.Builder(this)
                .logger()          // customise how to hook up with logcat
                .defaultTag()      // customise default tag
                .logToFile(true)   // enable logging to file
                .dir()             // customise directory to hold log files
                .formatter()       // customise log format and file name
                .retentionPolicy() // customise retention strategy
                .maxFileCount()    // customise how many log files to keep if retention by file count
                .maxTotalSize()    // customise how much space log files can occupy if retention by total size
                .build());

is not how one can actually use it, as the logger(), defaultTag() etc. methods require a parameter to be passed, they cannot be run without passing any parameters.

So you should make the instructions clearer and a more detailed. Maybe provide a sample app code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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