Example #1
0
        private void End(string callerMemberName = "", string callerTypeName = "", string message = "")
        {
            var logMessage = $"Completed {LogExtensions.GetFullTypeName(callerMemberName, callerTypeName)} {message}";

            Log(logMessage);

            Debug.WriteLine(logMessage);
        }
Example #2
0
        private void Begin(string callerMemberName = "", string callerTypeName = "", string message = "")
        {
            var result = $"Starting {LogExtensions.GetFullTypeName(callerMemberName, callerTypeName)} {message}";

            Log(result);

            Debug.WriteLine(result);
        }