using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mercury.Mobile.Logging
{
    /// <summary>
    /// A filter that allows everything through.
    /// </summary>
    public class PassFilter
        : LogFilter
    {
        /// <summary>
        /// Returns a value indicating whether the specified log entry can pass the filter.
        /// </summary>
        /// <param name="entry">The log entry to test.</param>
        /// <returns>True if the specified log entry can pass the filter; otherwise, false.</returns>
        public override bool Allow(LogEntry entry)
        {
            return true;
        }
    }
}
