Interface GoogleLoggingApi<API extends GoogleLoggingApi<API>>

  • Type Parameters:
    API - The api returned during method chaining (possibly an extension of this interface).
    All Superinterfaces:
    com.google.common.flogger.LoggingApi<API>
    All Known Subinterfaces:
    GoogleLogger.Api
    All Known Implementing Classes:
    GoogleLogContext, GoogleLoggingApi.NoOp

    public interface GoogleLoggingApi<API extends GoogleLoggingApi<API>>
    extends com.google.common.flogger.LoggingApi<API>
    Google specific extensions to the fluent logging API.

    If a team wishes to implement its own logging extensions, it must extend this API (in the same way that this API was extended from LoggingApi) and extend GoogleLogContext similarly. This should all be tied together by implementing an alternate implementation of GoogleLogger.

    However, if you wish to extend the default logging API, please contact flogger-dev@ first.

    • Method Summary

      • Methods inherited from interface com.google.common.flogger.LoggingApi

        atMostEvery, every, isEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logVarargs, onAverageEvery, per, per, per, with, with, withCause, withInjectedLogSite, withInjectedLogSite, withStackTrace