StandardStreamsMode
public enum StandardStreamsMode
Governs when a ConsoleLogConfiguration
directs log messages to
stdout
and stderr
.
-
Indicates that logging will be directed to
stdout
andstderr
only as a fallback on platforms whereos_log()
is not available.Declaration
Swift
case useAsFallback
-
Indicates that
stdout
andstderr
will always be used, regardless of whether logging usingos_log()
is also occurring.Declaration
Swift
case useAlways
-
Indicates that
stdout
andstderr
are to be used exclusively;os_log()
will not be used even when it is available.Declaration
Swift
case useExclusively