Skip to content

Commit 7b89a8d

Browse files
committed
Add dnaLogDisplayShow macro under Debug build
1 parent 2e925f7 commit 7b89a8d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Source/ExcelDna.IntelliSense.Host/MyFunctions.cs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#if DEBUG
2-
using System;
3-
using System.ComponentModel;
4-
using ExcelDna.Integration;
2+
using System;
3+
using System.ComponentModel;
4+
using ExcelDna.Integration;
5+
using ExcelDna.Logging;
56

6-
namespace ExcelDna.CustomAddin
7+
namespace ExcelDna.CustomAddin
78
{
89
// These functions - are just here for testing...
910
public class MyFunctions
@@ -50,6 +51,11 @@ public static object ADescriptFunction(object inout)
5051
return inout;
5152
}
5253

54+
[ExcelCommand]
55+
public static void dnaLogDisplayShow()
56+
{
57+
LogDisplay.Show();
58+
}
5359
}
5460
}
5561
#endif

0 commit comments

Comments
 (0)