스플래시 페이지 추가
This commit is contained in:
16
SodaLive/Sources/Utils/Constants.swift
Normal file
16
SodaLive/Sources/Utils/Constants.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Constants.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/09.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
let BASE_URL = "https://api.sodalive.net"
|
||||
let APPLY_YOZM_CREATOR = "https://forms.gle/mmhJKmijjVRnwtdZ7"
|
||||
|
||||
let AGORA_APP_ID = "e34e40046e9847baba3adfe2b8ffb4f6"
|
||||
let AGORA_APP_CERTIFICATE = "15cadeea4ba94ff7b091c9a10f4bf4a6"
|
||||
|
||||
let BOOTPAY_APP_ID = "64c35be1d25985001dc50c88"
|
23
SodaLive/Sources/Utils/Log.swift
Normal file
23
SodaLive/Sources/Utils/Log.swift
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// Log.swift
|
||||
// yozm
|
||||
//
|
||||
// Created by klaus on 2022/05/20.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
func DEBUG_LOG(_ msg: String, file: String = #file, function: String = #function, line: Int = #line) {
|
||||
#if DEBUG
|
||||
let filename = file.split(separator: "/").last ?? ""
|
||||
let funcName = function.split(separator: "(").first ?? ""
|
||||
print("👻 [\(filename)] \(funcName)(\(line)): \(msg)")
|
||||
#endif
|
||||
}
|
||||
|
||||
func ERROR_LOG(_ msg: String, file: String = #file, function: String = #function, line: Int = #line) {
|
||||
let filename = file.split(separator: "/").last ?? ""
|
||||
let funcName = function.split(separator: "(").first ?? ""
|
||||
print("🤯😡 [\(filename)] \(funcName)(\(line)): \(msg)")
|
||||
}
|
||||
|
Reference in New Issue
Block a user