3.5. SMLogger

This class provides the function which outputs the StarIO.framework and StarIO_Extension.framework logs. Use of this Log function may have some influences on performance of your application.

  • Constants

    Name Description
    SMLogLevel Constant that specifies the log level.
  • Property

    Name Description
    logLevel Sets or gets the log level.
    isLogging Gets whether log output has started or not.
  • Method

    Name Description
    start Starts log output.
    stop Stops log output.
    logString Outputs log of the desired string.

3.5.1. SMLogLevel

Constant that specifies the log output level.

  • Declaration

    typedef NS_ENUM(NSUInteger, SMLogLevel) {
       SMLogLevelDefault
    };
    
  • Constants

    Name Description
    SMLogLevelDefault Default level

3.5.2. logLevel

Sets or gets the log level.

  • Declaration

    @property (nonatomic) SMLogLevel logLevel;
    
  • Value

    Description Object type
    Log level SMLogLevel

3.5.3. isLogging

Gets whether log output has started or not.

  • Declaration

    @property (nonatomic, readonly) BOOL isLogging;
    
  • Value

    Description Object type
    Whether log output has started or not BOOL

3.5.4. start

Starts log output.

  • Declaration

    - (void) start;
    
  • Parameter

    None

  • Return value

    None

3.5.5. stop

Stops log output.

  • Declaration

    - (void) stop;
    
  • Parameter

    None

  • Return value

    None

3.5.6. logString

Outputs log of the desired string.

  • Declaration

    - (void) logString:(nonnull NSString *)string;
    
  • Parameter

    Name Description Object type
    string String for log output NSString
  • Return value

    None