1 /* 2 * Copyright (c) 2018 Mockito contributors 3 * This program is made available under the terms of the MIT License. 4 */ 5 package org.mockito.internal.session; 6 7 import org.mockito.internal.util.MockitoLogger; 8 import org.mockito.session.MockitoSessionLogger; 9 10 public class MockitoSessionLoggerAdapter implements MockitoSessionLogger { 11 12 private final MockitoLogger logger; 13 MockitoSessionLoggerAdapter(MockitoLogger logger)14 public MockitoSessionLoggerAdapter(MockitoLogger logger) { 15 this.logger = logger; 16 } 17 18 @Override log(String hint)19 public void log(String hint) { 20 logger.log(hint); 21 } 22 } 23