Contents

level

The minimum level of messages that the shader can log.

Declaration

var level: MTLLogLevel { get set }

Discussion

The default value is MTLLogLevel.debug.

Use this value to limit which logs from your shader the log state stores. The log state doesn’t store messages at a lower level. Increase the level to reduce verbosity of logging.

See Also

Instance properties