|
Mobile API Reference
MicroStrategy 2019
|
#import <MSILogger.h>
Instance Methods | |
| (void) | - logWithLevel:className:methodName:message: |
| (void) | - logWithLevel:className:methodName:message:module: |
| (BOOL) | - isLoggable: |
| (void) | - addHandler: |
| (BOOL) | - imageCachePerformanceLogEnabled |
Class Methods | |
| (NSDictionary *) | + logMoudlesDic |
Properties | |
| LogLevels | level |
MSILogger is used for comprehensive logging into the MicroStrategy log. The records contain detailed fields. MSILogger also provides guidance for filtering entries.
| - (void) addHandler: | (Handler *) | handler |
| - (BOOL) imageCachePerformanceLogEnabled |
| + (NSDictionary *) logMoudlesDic |
| - (void) logWithLevel: | (LogLevels) | level | |
| className: | (NSString *) | className | |
| methodName: | (NSString *) | method | |
| message: | (NSString *) | msg | |
logWithLevel:className:methodName:message: makes the actual log entry. LogLevels is used for guidance on whether to log something, but is not enforced. For example,
if ( [[MSILog getLogger] isLoggable: Severe ] )
{
[[MSILog getLogger] logWithLevel: Severe
className: @"ApplicationLauncherController"
methodName: @"startLaunch"
message: @"The URL is not valid." ];
}
| - (void) logWithLevel: | (LogLevels) | level | |
| className: | (NSString *) | className | |
| methodName: | (NSString *) | method | |
| message: | (NSString *) | msg | |
| module: | (NSString *) | module | |
logWithLevel:className:methodName:message:module: makes the actual log entry. LogLevels is used for guidance on whether to log something, but is not enforced. For example,
if ( [[MSILog getLogger] isLoggable: Severe ] ) { [[MSILog getLogger] logWithLevel: Severe className: "ApplicationLauncherController" methodName: @"startLaunch" message: @"The URL is not valid." module: @"ApplicationLauncher"]; }
|
readwriteatomic |