Class LogServiceImpl

java.lang.Object
com.oracle.cloud.spring.logging.LogServiceImpl
All Implemented Interfaces:
LogService

public class LogServiceImpl extends Object implements LogService
Implementation of the OCI Logging module.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogServiceImpl(com.oracle.bmc.loggingingestion.Logging logging, String logId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oracle.bmc.loggingingestion.Logging
    Direct instance of OCI Java SDK Logging Client.
    com.oracle.bmc.loggingingestion.responses.PutLogsResponse
    putLog(String logText)
    Ingest logs associated with a Log OCID.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogServiceImpl

      public LogServiceImpl(com.oracle.bmc.loggingingestion.Logging logging, String logId)
  • Method Details

    • getClient

      public com.oracle.bmc.loggingingestion.Logging getClient()
      Direct instance of OCI Java SDK Logging Client.
      Specified by:
      getClient in interface LogService
      Returns:
      Logging
    • putLog

      public com.oracle.bmc.loggingingestion.responses.PutLogsResponse putLog(String logText)
      Ingest logs associated with a Log OCID.
      Specified by:
      putLog in interface LogService
      Parameters:
      logText - Content of the log to be ingested
      Returns:
      PutLogsResponse