catServiceLogs method

Future<String?> catServiceLogs(
  1. String containerNameOrID, {
  2. bool stderr = false,
  3. Pattern? waitDataMatcher,
  4. Duration? waitDataTimeout,
  5. bool waitExit = false,
  6. int? desiredExitCode,
  7. bool follow = false,
})

Returns a Service logs as String.

Implementation

Future<String?> catServiceLogs(
  String containerNameOrID, {
  bool stderr = false,
  Pattern? waitDataMatcher,
  Duration? waitDataTimeout,
  bool waitExit = false,
  int? desiredExitCode,
  bool follow = false,
}) =>
    DockerCMD.catServiceLogs(this, containerNameOrID,
        stderr: stderr,
        waitDataMatcher: waitDataMatcher,
        waitDataTimeout: waitDataTimeout,
        waitExit: waitExit,
        desiredExitCode: desiredExitCode,
        follow: follow);