func log()

in Sources/TwitterTextEditor/Logger.swift [56:78]


    func log(type: LogType,
             file: StaticString,
             line: Int,
             function: StaticString,
             message: @autoclosure () -> String?)
}

/**
 Default logging function.

 - Parameters:
   - type: Type of log.
   - file: Source file path to the logging position. Default to `#file`.
   - line: Line to the logging position in the `file`. Default to `#line`
   - function: Function name of the logging position. Default to `#function`.
   - message: Log message. Default to `nil`.
 */
func log(type: LogType,
         file: StaticString = #file,
         line: Int = #line,
         function: StaticString = #function,
         _ message: @autoclosure () -> String? = nil)
{