//
// FileSinkOptions.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.RegularExpressions;
namespace Anonymizer.Sinks;
///
/// Options for .
///
public class FileSinkOptions
{
///
/// Gets or sets the line format to output.
///
public string OutputFormat { get; set; } = "[%TYPE%]\t%PACKET%";
///
/// Gets or sets the regex match of the line.
///
public string LineRegex { get; set; } = ".*\\[(Recv|Send)\\]\t(.*)";
///
/// Gets or sets the receive string from the packet line.
///
public string RecvString { get; set; } = "Recv";
///
/// Gets or sets the send string from the packet line.
///
public string SendString { get; set; } = "Send";
}