TVOLogParameters Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TVOLogParameters.h |
logModule
TVOLogModule for the logger.
@property (nonatomic, assign) TVOLogModule logModuleDiscussion
TVOLogModule for the logger.
Declared In
TVOLogParameters.h
logLevel
TVOLogLevel for the logger.
@property (nonatomic, assign) TVOLogLevel logLevelDiscussion
TVOLogLevel for the logger.
Declared In
TVOLogParameters.h
timeStamp
Local Timestamp for the log statement in YY-MM-DD HH:MM:SS.MMM format
@property (nonatomic, copy, nullable) NSString *timeStampDiscussion
Local Timestamp for the log statement in YY-MM-DD HH:MM:SS.MMM format
Declared In
TVOLogParameters.h
fileName
File name for the log statement.
@property (nonatomic, copy, nullable) NSString *fileNameDiscussion
File name for the log statement.
Declared In
TVOLogParameters.h
functionName
Function name for the log statement.
@property (nonatomic, copy, nullable) NSString *functionNameDiscussion
Function name for the log statement.
Declared In
TVOLogParameters.h
lineNumber
Line number for the log statement.
@property (nonatomic, strong, nullable) NSNumber *lineNumberDiscussion
Line number for the log statement.
Declared In
TVOLogParameters.h
tag
Tag for the log statement.
@property (nonatomic, copy, nullable) NSString *tagDiscussion
Tag for the log statement.
Declared In
TVOLogParameters.h
thread
The thread name/id.
@property (nonatomic, copy, nonnull) NSString *threadDiscussion
The thread name/id.
Declared In
TVOLogParameters.h
message
The log statement body.
@property (nonatomic, copy, nonnull) NSString *messageDiscussion
The log statement body.
Declared In
TVOLogParameters.h
– initWithModule:logLevel:timeStamp:fileName:functionName:lineNumber:tag:thread:message:
Initialize the LogParameters.
- (null_unspecified instancetype)initWithModule:(TVOLogModule)logModule logLevel:(TVOLogLevel)logLevel timeStamp:(nullable NSString *)timeStamp fileName:(nullable NSString *)fileName functionName:(nullable NSString *)functionName lineNumber:(nullable NSNumber *)lineNumber tag:(nullable NSString *)tag thread:(nullable NSString *)thread message:(nonnull NSString *)messageParameters
logModule |
The |
|---|---|
logLevel |
The |
timeStamp |
Local Timestamp in YY-MM-DD HH:MM:SS.MMM format |
fileName |
A nullable string that shows the file name of the log statement |
functionName |
A nullable string that shows the function name of the log statement |
lineNumber |
A nullable number representing the line number of the log statement in the file |
tag |
A nullable string that can be used to specify any user defined tag in the log line |
thread |
A nullable string that can be used to specify the thread name or id |
message |
Nonnull string for the log statement |
Return Value
An initialized LogParameters instance.
Declared In
TVOLogParameters.h
– initWithModule:logLevel:message:
Initialize the LogParameters.
- (null_unspecified instancetype)initWithModule:(TVOLogModule)logModule logLevel:(TVOLogLevel)logLevel message:(nonnull NSString *)messageParameters
logModule |
The |
|---|---|
logLevel |
The |
message |
Nonnull string for the log statement |
Return Value
An initialized LogParameters instance.
Discussion
This initilizer only initializes required varriables for the log statement. All other parameters are set to nil
Declared In
TVOLogParameters.h