Skip to content

Commit 4f3f107

Browse files
committed
Update logger classes names
1 parent 0a134d9 commit 4f3f107

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

iOS_Bootstrap/Classes/Logger/Logger.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ open class Log {
6868
/// - line: Line number in file from where the logging is done
6969
/// - column: Column number of the log message
7070
/// - funcName: Name of the function from where the logging is done
71-
open class func e( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
71+
open class func error( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
7272
if isLoggingEnabled {
7373

7474
print("\(Date().toString()) \(LogEvent.e.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
@@ -83,7 +83,7 @@ open class Log {
8383
/// - line: Line number in file from where the logging is done
8484
/// - column: Column number of the log message
8585
/// - funcName: Name of the function from where the logging is done
86-
open class func i ( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
86+
open class func info ( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
8787
if isLoggingEnabled {
8888
print("\(Date().toString()) \(LogEvent.i.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
8989
}
@@ -97,7 +97,7 @@ open class Log {
9797
/// - line: Line number in file from where the logging is done
9898
/// - column: Column number of the log message
9999
/// - funcName: Name of the function from where the logging is done
100-
open class func d( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
100+
open class func debug( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
101101
if isLoggingEnabled {
102102
print("\(Date().toString()) \(LogEvent.d.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
103103
}
@@ -111,7 +111,7 @@ open class Log {
111111
/// - line: Line number in file from where the logging is done
112112
/// - column: Column number of the log message
113113
/// - funcName: Name of the function from where the logging is done
114-
open class func v( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
114+
open class func verbose( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
115115
if isLoggingEnabled {
116116
print("\(Date().toString()) \(LogEvent.v.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
117117
}
@@ -125,7 +125,7 @@ open class Log {
125125
/// - line: Line number in file from where the logging is done
126126
/// - column: Column number of the log message
127127
/// - funcName: Name of the function from where the logging is done
128-
open class func w( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
128+
open class func warning( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
129129
if isLoggingEnabled {
130130
print("\(Date().toString()) \(LogEvent.w.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
131131
}
@@ -139,7 +139,7 @@ open class Log {
139139
/// - line: Line number in file from where the logging is done
140140
/// - column: Column number of the log message
141141
/// - funcName: Name of the function from where the logging is done
142-
open class func s( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
142+
open class func server( _ object: Any, filename: String = #file, line: Int = #line, column: Int = #column, funcName: String = #function) {
143143
if isLoggingEnabled {
144144
print("\(Date().toString()) \(LogEvent.s.rawValue)[\(sourceFileName(filePath: filename))]:\(line) \(column) \(funcName) -> \(object)")
145145
}

0 commit comments

Comments
 (0)