chore: lint project (#3395)
* chore: format swift code * chore: format clang code * chore: format kotlin code * refactor: rename folder "API" to "api"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// RCTLog.swift
|
||||
// RCTVideoSwiftLog.swift
|
||||
// WebViewExample
|
||||
//
|
||||
// Created by Jimmy Dee on 4/5/17.
|
||||
@@ -27,29 +27,28 @@
|
||||
|
||||
let logHeader: String = "RNV:"
|
||||
|
||||
func RCTLogError(_ message: String, _ file: String=#file, _ line: UInt=#line) {
|
||||
func RCTLogError(_ message: String, _ file: String = #file, _ line: UInt = #line) {
|
||||
RCTVideoSwiftLog.error(logHeader + message, file: file, line: line)
|
||||
}
|
||||
|
||||
func RCTLogWarn(_ message: String, _ file: String=#file, _ line: UInt=#line) {
|
||||
func RCTLogWarn(_ message: String, _ file: String = #file, _ line: UInt = #line) {
|
||||
RCTVideoSwiftLog.warn(logHeader + message, file: file, line: line)
|
||||
}
|
||||
|
||||
func RCTLogInfo(_ message: String, _ file: String=#file, _ line: UInt=#line) {
|
||||
func RCTLogInfo(_ message: String, _ file: String = #file, _ line: UInt = #line) {
|
||||
RCTVideoSwiftLog.info(logHeader + message, file: file, line: line)
|
||||
}
|
||||
|
||||
func RCTLog(_ message: String, _ file: String=#file, _ line: UInt=#line) {
|
||||
func RCTLog(_ message: String, _ file: String = #file, _ line: UInt = #line) {
|
||||
RCTVideoSwiftLog.log(logHeader + message, file: file, line: line)
|
||||
}
|
||||
|
||||
func RCTLogTrace(_ message: String, _ file: String=#file, _ line: UInt=#line) {
|
||||
func RCTLogTrace(_ message: String, _ file: String = #file, _ line: UInt = #line) {
|
||||
RCTVideoSwiftLog.trace(logHeader + message, file: file, line: line)
|
||||
}
|
||||
|
||||
func DebugLog(_ message: String) {
|
||||
#if DEBUG
|
||||
print(logHeader + message)
|
||||
#endif
|
||||
#if DEBUG
|
||||
print(logHeader + message)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user