ConsoleLogHandler

public class ConsoleLogHandler : LogHandler

A log handler that prints log records to standard output.

  • Creates a ConsoleLogHandler.

    Declaration

    Swift

    public init()
  • Prints a log record to standard output.

    Declaration

    Swift

    public func log(_ record: LogRecord)

    Parameters

    record

    the log record