Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
6e397241
Commit
6e397241
authored
May 04, 2018
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some log items.
parent
9265cf75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
LoggerExtensions.cs
src/DotNetCore.CAP/LoggerExtensions.cs
+1
-12
No files found.
src/DotNetCore.CAP/LoggerExtensions.cs
View file @
6e397241
...
@@ -18,7 +18,6 @@ namespace DotNetCore.CAP
...
@@ -18,7 +18,6 @@ namespace DotNetCore.CAP
private
static
readonly
Action
<
ILogger
,
Exception
>
_consumerFailedWillRetry
;
private
static
readonly
Action
<
ILogger
,
Exception
>
_consumerFailedWillRetry
;
private
static
readonly
Action
<
ILogger
,
double
,
Exception
>
_consumerExecuted
;
private
static
readonly
Action
<
ILogger
,
double
,
Exception
>
_consumerExecuted
;
private
static
readonly
Action
<
ILogger
,
int
,
int
,
Exception
>
_senderRetrying
;
private
static
readonly
Action
<
ILogger
,
int
,
int
,
Exception
>
_senderRetrying
;
private
static
readonly
Action
<
ILogger
,
string
,
Exception
>
_exceptionOccuredWhileExecuting
;
private
static
readonly
Action
<
ILogger
,
double
,
Exception
>
_messageHasBeenSent
;
private
static
readonly
Action
<
ILogger
,
double
,
Exception
>
_messageHasBeenSent
;
private
static
readonly
Action
<
ILogger
,
int
,
string
,
Exception
>
_messagePublishException
;
private
static
readonly
Action
<
ILogger
,
int
,
string
,
Exception
>
_messagePublishException
;
...
@@ -73,12 +72,7 @@ namespace DotNetCore.CAP
...
@@ -73,12 +72,7 @@ namespace DotNetCore.CAP
_consumerFailedWillRetry
=
LoggerMessage
.
Define
(
_consumerFailedWillRetry
=
LoggerMessage
.
Define
(
LogLevel
.
Warning
,
LogLevel
.
Warning
,
2
,
2
,
"Consumer failed to execute. Will retry."
);
"Consumer failed to execute. Will retry."
);
_exceptionOccuredWhileExecuting
=
LoggerMessage
.
Define
<
string
>(
LogLevel
.
Error
,
6
,
"An exception occured while trying to store a message. message id: {MessageId}"
);
_messageHasBeenSent
=
LoggerMessage
.
Define
<
double
>(
_messageHasBeenSent
=
LoggerMessage
.
Define
<
double
>(
LogLevel
.
Debug
,
LogLevel
.
Debug
,
...
@@ -136,11 +130,6 @@ namespace DotNetCore.CAP
...
@@ -136,11 +130,6 @@ namespace DotNetCore.CAP
_expectedOperationCanceledException
(
logger
,
ex
.
Message
,
ex
);
_expectedOperationCanceledException
(
logger
,
ex
.
Message
,
ex
);
}
}
public
static
void
ExceptionOccuredWhileExecuting
(
this
ILogger
logger
,
string
messageId
,
Exception
ex
)
{
_exceptionOccuredWhileExecuting
(
logger
,
messageId
,
ex
);
}
public
static
void
ModelBinderFormattingException
(
this
ILogger
logger
,
string
methodName
,
string
parameterName
,
public
static
void
ModelBinderFormattingException
(
this
ILogger
logger
,
string
methodName
,
string
parameterName
,
string
content
,
Exception
ex
)
string
content
,
Exception
ex
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment