aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IMessageListener.cs
blob: d5baa24f1d3486cb701e4f196818863f9df7fb00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Extensibility
{
    using WixToolset.Data;
    using WixToolset.Extensibility.Services;

    public interface IMessageListener
    {
        MessageLevel CalculateMessageLevel(IMessaging messaging, Message message, MessageLevel defaultMessageLevel);

        void Write(Message message);

        void Write(string message);
    }
}