Skip to content

Remove Flush function from logger.go #14

@WargLlih

Description

@WargLlih

The public API Flush() may cause misuse.

logger.LogEngine().FlushReports() is called in Stop as it should be.

// Flush flushes the reports to the output writers.
func Flush() {
	logger.LogEngine().FlushReports()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions