Skip to content

Commit ee1d4c2

Browse files
committed
Removed VTEX reference at project namespace
#46
1 parent 3a73820 commit ee1d4c2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/SampleWebAPI/Controllers/ValuesController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.AspNetCore.Mvc;
44
using Microsoft.Extensions.Logging;
55

6-
namespace Vtex.SampleWebAPI.Controllers
6+
namespace Splunk.SampleWebAPI.Controllers
77
{
88
[Route("api/[controller]")]
99
public class ValuesController : Controller
@@ -20,7 +20,7 @@ public ValuesController(ILoggerFactory loggerFactory)
2020
public IEnumerable<string> Get()
2121
{
2222
var exception = new NotImplementedException();
23-
logger.Log(LogLevel.Critical, new EventId(-1, "Values Controller"), new { route = "Get" }, exception,
23+
logger.Log(LogLevel.Trace, new EventId(-1, "Values Controller"), new { route = "Get" }, exception,
2424
(argState, argException) => {
2525
return string.Format("{0} {1}",
2626
argState != null ? argState.ToString() : string.Empty,

src/SampleWebAPI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.AspNetCore;
22
using Microsoft.AspNetCore.Hosting;
33

4-
namespace Vtex.SampleWebAPI
4+
namespace Splunk.SampleWebAPI
55
{
66
public class Program
77
{

src/SampleWebAPI/SampleWebAPI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<ReleaseVersion>1.0.5</ReleaseVersion>
66
<Description>Sample Web API project created to show how to use SplunkLogger library</Description>
7-
<RootNamespace>Vtex.SampleWebAPI</RootNamespace>
7+
<RootNamespace>Splunk.SampleWebAPI</RootNamespace>
88
</PropertyGroup>
99

1010
<ItemGroup>

src/SampleWebAPI/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using Splunk;
88
using Splunk.Configurations;
99

10-
namespace Vtex.SampleWebAPI
10+
namespace Splunk.SampleWebAPI
1111
{
1212
public class Startup
1313
{

0 commit comments

Comments
 (0)