aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/IMessageListener.cs
blob: ea103538428ea10c173ce5398b8963ce9f0e49f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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;

#pragma warning disable 1591 // TODO: add documentation
    public interface IMessageListener
    {
        MessageLevel CalculateMessageLevel(IMessaging messaging, Message message, MessageLevel defaultMessageLevel);

        void Write(Message message);

        void Write(string message);
    }
}