//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: public void log(@Nonnull CappedLogger logger, @Nonnull String msg) public void log(CappedLogger logger, string msg) { logger.Debug(msg); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: public void log(@Nonnull CappedLogger logger, @Nonnull String msg, @Nonnull Throwable cause) public void log(CappedLogger logger, string msg, Exception cause) { logger.Info(msg, cause); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUp() public virtual void SetUp() { _logProvider = new AssertableLogProvider(); _logger = new CappedLogger(_logProvider.getLog(typeof(CappedLogger))); }