Structures

The following structures are available globally.

  • Your basic, customizable log formatter BasicFormatter does not need any setup and will automatically include all log components It can also be given a linear sequence of log components and it will build formatted logs in that order

    See more

    Declaration

    Swift

    public struct BasicFormatter : Formatter
  • A pipe for sending logs to a TextOutputStream

    See more

    Declaration

    Swift

    public struct LoggerTextOutputStreamPipe : Pipe
  • Copied from swift-log:Logging.swift until it is made public A wrapper to facilitate print-ing to stderr and stdio that ensures access to the underlying FILE is locked to prevent cross-thread interleaving of output.

    See more

    Declaration

    Swift

    public struct StdioOutputStream : TextOutputStream