Skip to content

Warnings with public modifier is redundant #1

Description

@armintelker

When i compile your library i will get this 3 warnings. can we get rid of it?

⚠️  /Users/vagrant/Library/Developer/Xcode/DerivedData/iphone-app-fyukishkbrofhsgaoitprrafztpi/SourcePackages/checkouts/alamofire-logging/Sources/AlamofireLogging/DataRequest+Logging.swift:15:5: 'public' modifier is redundant for instance method declared in a public extension
    public func log(level: LogLevel = .simple) -> Self {
    ^~~~~~~
⚠️  /Users/vagrant/Library/Developer/Xcode/DerivedData/iphone-app-fyukishkbrofhsgaoitprrafztpi/SourcePackages/checkouts/alamofire-logging/Sources/AlamofireLogging/DataRequest+Logging.swift:21:5: 'public' modifier is redundant for instance method declared in a public extension
    public func logRequest(level: LogLevel = .simple) -> Self {
    ^~~~~~~
⚠️  /Users/vagrant/Library/Developer/Xcode/DerivedData/iphone-app-fyukishkbrofhsgaoitprrafztpi/SourcePackages/checkouts/alamofire-logging/Sources/AlamofireLogging/DataRequest+Logging.swift:49:5: 'public' modifier is redundant for instance method declared in a public extension
    public func logResponse(level: LogLevel = .simple) -> Self {
    ^~~~~~~

Thanks :)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions