// WS-POS version 1.3 参照実装
// 
// 実装 version 0.6 

using System;
using System.Reflection;

namespace WSPOSInitiative.Common
{
    public interface ILog
    {
        /// <summary>
        /// ログ出力
        /// Log output 
        /// </summary>
        /// <param name="currentMethod">呼び出したメソッド | The called method</param>
        /// <param name="message">出力文字列 | Output string</param>
        void LogWriteLineMessage(MethodBase currentMethod, string message);

        /// <summary>
        /// ログ出力
        /// Log output 
        /// </summary>
        /// <param name="currentMethod">呼び出したメソッド | The called method</param>
        /// <param name="ex">Exception object</param>
        void LogWriteLineException(MethodBase currentMethod, Exception ex);

        /// <summary>
        /// ログ出力
        /// Log output 
        /// </summary>
        /// <param name="currentMethod">呼び出したメソッド | The called method</param>
        /// <param name="ex">Exception object</param>
        /// <param name="message">出力文字列 | Output string</param>
        void LogWriteLineException(MethodBase currentMethod, Exception ex, string message);
    }
}
