@@ -68,7 +68,7 @@ open class Log {
68
68
/// - line: Line number in file from where the logging is done
69
69
/// - column: Column number of the log message
70
70
/// - 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) {
72
72
if isLoggingEnabled {
73
73
74
74
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . e. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
@@ -83,7 +83,7 @@ open class Log {
83
83
/// - line: Line number in file from where the logging is done
84
84
/// - column: Column number of the log message
85
85
/// - 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) {
87
87
if isLoggingEnabled {
88
88
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . i. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
89
89
}
@@ -97,7 +97,7 @@ open class Log {
97
97
/// - line: Line number in file from where the logging is done
98
98
/// - column: Column number of the log message
99
99
/// - 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) {
101
101
if isLoggingEnabled {
102
102
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . d. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
103
103
}
@@ -111,7 +111,7 @@ open class Log {
111
111
/// - line: Line number in file from where the logging is done
112
112
/// - column: Column number of the log message
113
113
/// - 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) {
115
115
if isLoggingEnabled {
116
116
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . v. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
117
117
}
@@ -125,7 +125,7 @@ open class Log {
125
125
/// - line: Line number in file from where the logging is done
126
126
/// - column: Column number of the log message
127
127
/// - 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) {
129
129
if isLoggingEnabled {
130
130
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . w. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
131
131
}
@@ -139,7 +139,7 @@ open class Log {
139
139
/// - line: Line number in file from where the logging is done
140
140
/// - column: Column number of the log message
141
141
/// - 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) {
143
143
if isLoggingEnabled {
144
144
print ( " \( Date ( ) . toString ( ) ) \( LogEvent . s. rawValue) [ \( sourceFileName ( filePath: filename) ) ]: \( line) \( column) \( funcName) -> \( object) " )
145
145
}
0 commit comments