Adaptive Media Player

AmpCore Docs

AmpCore Reference AmpLoggerInspector Protocol Reference

  • Classes
    • AdBreakInfo
    • AdInfo
    • AdVendor
    • AmpLogger
    • AmpPlayer
    • – MediaCharacteristic
    • AmpPlayerView
    • AmpSharePlay
    • AudioStreamHandler
    • BaseFullscreenHandler
    • BaseFullscreenManager
    • Caption
    • CuepointManager
    • FairplayConfiguration
    • Media
    • OTTDevice
    • Observable
    • ParentViewFullscreen
    • PosterImage
    • QualityLevel
    • StreamAssetHandler
    • StreamDownloader
    • StreamInfo
  • Enumerations
    • AmpLogLevel
    • BufferingState
    • FairplayProvider
    • PlaybackState
    • PlayerError
    • PosterImageType
    • StreamType
  • Protocols
    • AmpLoggerInspector
    • ExternalPlaybackDelegate
    • FullscreenHandler
    • FullscreenManager
    • PlayerEventObserver
    • SharePlayEventObserver
    • StreamHandler
  • Structures
    • FullscreenMode

AmpLoggerInspector

public protocol AmpLoggerInspector

This protocol receives the AmpLogger events

  • onLog(log:)

    This callback is triggered when a logging event occurs

    Declaration

    Swift

    func onLog(log: String)

    Parameters

    log

    String representation of the log