3.5. SMLogger

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

Note

When inquiring using the logs recorded by this class, please also provide the date and time of the event that may have caused the problem.

  • Constant

    Name

    Contents

    SMLogLevel

    Constant that specifies the log level.

  • Property

    Name

    Contents

    logLevel

    Sets or gets the log level.

    isLogging

    Gets whether log output has started or not.

  • Method

    Name

    Contents

    start

    Starts log output.

    stop

    Stops log output.

    logString

    Outputs log of the desired string.

3.5.1. SMLogLevel

Constant that specifies the log level.

  • Declaration

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

    Name

    Contents

    SMLogLevelDefault

    Default level

3.5.2. logLevel

Sets or gets the log level.

  • Declaration

    @property (nonatomic) SMLogLevel logLevel;
    
  • Value

    Contents

    Type

    Log Level

    SMLogLevel

3.5.3. isLogging

Gets whether log output has started or not.

  • Declaration

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

    Contents

    Type

    Shows 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

    Contents

    Type

    string

    String for log output

    NSString

  • Return value

    None