Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(466)

Delta Between Two Patch Sets: Src/GoogleApis.DotNet4/Apis/Logging/Log4NetLogger.cs

Issue 13096044: Issue 146: Pass override HTTP header when request URI too long (Closed)
Left Patch Set: More comments Created 10 years, 7 months ago
Right Patch Set: Refactor namespace Created 10 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Src/GoogleApis.Tests/Apis/Download/MediaDownloaderTest.cs » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 Copyright 2011 Google Inc 2 Copyright 2011 Google Inc
3 3
4 Licensed under the Apache License, Version 2.0 (the "License"); 4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License. 5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at 6 You may obtain a copy of the License at
7 7
8 http://www.apache.org/licenses/LICENSE-2.0 8 http://www.apache.org/licenses/LICENSE-2.0
9 9
10 Unless required by applicable law or agreed to in writing, software 10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS, 11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and 13 See the License for the specific language governing permissions and
14 limitations under the License. 14 limitations under the License.
15 */ 15 */
16 16
17 using System; 17 using System;
18 using System.Reflection; 18 using System.Reflection;
19 19
20 using log4net; 20 using log4net;
21 21
22 using Google.Apis.Testing;
23 using Google.Apis.Util; 22 using Google.Apis.Util;
24 23
25 namespace Google.Apis.Logging 24 namespace Google.Apis.Logging
26 { 25 {
27 /// <summary> A logger implementation which makes use of the log4net library . </summary> 26 /// <summary> A logger implementation which makes use of the log4net library . </summary>
28 public sealed class Log4NetLogger : ILogger 27 public sealed class Log4NetLogger : ILogger
29 { 28 {
30 private readonly ILog log; 29 private readonly ILog log;
31 30
32 static Log4NetLogger() 31 static Log4NetLogger()
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 { 78 {
80 log.Error(string.Format(message, formatArgs), exception); 79 log.Error(string.Format(message, formatArgs), exception);
81 } 80 }
82 81
83 public void Error(string message, params object[] formatArgs) 82 public void Error(string message, params object[] formatArgs)
84 { 83 {
85 log.Error(string.Format(message, formatArgs)); 84 log.Error(string.Format(message, formatArgs));
86 } 85 }
87 } 86 }
88 } 87 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b