Maksym Malyhin 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
..
GDTCCTLibrary b05be68db1 GDTCCTUploader: lazy initialize url session, use ephemeral session (#6870) 5 лет назад
GDTCCTTestApp e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 5 лет назад
GDTCCTTests bde8e07844 GDT: move some headers from public to internal (#6643) 5 лет назад
GDTCCTWatchOSTestApp 4507ad146b Fix CI/regression - update for change FCM API (#6699) 5 лет назад
GDTCORLibrary 57123ae0d5 Update clang-format to 11 (#6905) 5 лет назад
GDTCORTests bde8e07844 GDT: move some headers from public to internal (#6643) 5 лет назад
GDTTestApp a00703a543 Completely reimplement storage in GDT (#5877) 5 лет назад
GDTWatchOSTestApp bde8e07844 GDT: move some headers from public to internal (#6643) 5 лет назад
ProtoSupport f33276f530 Update nanopb py3 0.3.9.5 -> 0.3.9.6 (#6214) 5 лет назад
CHANGELOG.md 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
README.md 94fb0d1b11 GDT readme: log level configuration (#6513) 5 лет назад
generate_project.sh e03a8d91a0 Consolidate GDT and GDTCCT to a single pod (#5902) 5 лет назад

README.md

Google Data Transport Lib

This library is for internal Google use only. It allows the logging of data and telemetry from Google SDKs.

Set logging level

Swift

  • Import GoogleDataTransport module:

    import GoogleDataTransport
    
  • Set logging level global variable to the desired value before calling FirebaseApp.config():

    GDTCORConsoleLoggerLoggingLevel = GDTCORLoggingLevel.debug.rawValue
    

    Objective-C

  • Import GoogleDataTransport:

    #import <GoogleDataTransport/GoogleDataTransport.h>
    
  • Set logging level global variable to the desired value before calling -[FIRApp config]:

    GDTCORConsoleLoggerLoggingLevel = GDTCORLoggingLevelDebug;
    

Prereqs

  • gem install --user cocoapods cocoapods-generate
  • brew install protobuf nanopb-generator
  • easy_install --user protobuf

To develop

  • Run generate_project.sh after installing the prereqs

When adding new logging endpoint

  • Use commands similar to:
    • python -c "line='https://www.firebase.com'; print line[0::2]"
    • python -c "line='https://www.firebase.com'; print line[1::2]"

When adding internal code that shouldn't be easily usable on github

  • Consider using go/copybara-library/scrubbing#cc_scrub