FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Samples/UsingLog4Net/MyAddIn.cs at master · brook-source/Samples · GitHub
brook-source
Samples
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Samples
/
UsingLog4Net
/
MyAddIn.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 392 Bytes
Breadcrumbs
Samples
/
UsingLog4Net
/
MyAddIn.cs
Copy path
File metadata and controls
18 lines (15 loc) · 392 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using
ExcelDna
.
Integration
;
using
log4net
;
[
assembly
:
log4net
.
Config
.
XmlConfigurator
(
)
]
namespace
UsingLog4Net
{
public
static
class
MyAddIn
{
static
ILog
Logger
=
LogManager
.
GetLogger
(
"MyAddIn"
)
;
public
static
double
AddThemAndLog
(
double
x
,
double
y
)
{
Logger
.
Debug
(
">>>>> AddThemAndLog called."
)
;
return
x
+
y
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL