StandardStreamsMode

public enum StandardStreamsMode

Governs when a ConsoleLogConfiguration directs log messages to stdout and stderr.

  • Indicates that logging will be directed to stdout and stderr only as a fallback on platforms where os_log() is not available.

    Declaration

    Swift

    case useAsFallback
  • Indicates that stdout and stderr will always be used, regardless of whether logging using os_log() is also occurring.

    Declaration

    Swift

    case useAlways
  • Indicates that stdout and stderr are to be used exclusively; os_log() will not be used even when it is available.

    Declaration

    Swift

    case useExclusively