Functions

The following functions are available globally.

  • Log a message at level ASL_LEVEL_EMERG

    Declaration

    Objective-C

    void MWLogEmergency(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_ALERT

    Declaration

    Objective-C

    void MWLogAlert(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_CRIT

    Declaration

    Objective-C

    void MWLogCritical(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_ERR

    Declaration

    Objective-C

    void MWLogError(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_WARNING

    Declaration

    Objective-C

    void MWLogWarning(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_NOTICE

    Declaration

    Objective-C

    void MWLogNotice(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_INFO

    Declaration

    Objective-C

    void MWLogInfo(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.

  • Log a message at level ASL_LEVEL_DEBUG

    Declaration

    Objective-C

    void MWLogDebug(NSString *format, ...)

    Parameters

    format

    String, including formatting as per [NSString initWithFormat:]

    ...

    remaining arguments as required by any formatting codes in the format string.