forked from bit/DotRecastNetSim
first setting working directory
This commit is contained in:
parent
acc1a17fa4
commit
475bfce71c
|
@ -10,8 +10,8 @@ public static class Program
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
InitializeLogger();
|
|
||||||
InitializeWorkingDirectory();
|
InitializeWorkingDirectory();
|
||||||
|
InitializeLogger();
|
||||||
StartDemo();
|
StartDemo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,8 +27,9 @@ public static class Program
|
||||||
.WriteTo.Async(c => c.Console(outputTemplate: format))
|
.WriteTo.Async(c => c.Console(outputTemplate: format))
|
||||||
.WriteTo.Async(c => c.File(
|
.WriteTo.Async(c => c.File(
|
||||||
"logs/log.log",
|
"logs/log.log",
|
||||||
rollingInterval: RollingInterval.Day,
|
rollingInterval: RollingInterval.Hour,
|
||||||
rollOnFileSizeLimit: true,
|
rollOnFileSizeLimit: true,
|
||||||
|
retainedFileCountLimit: null,
|
||||||
outputTemplate: format)
|
outputTemplate: format)
|
||||||
)
|
)
|
||||||
.CreateLogger();
|
.CreateLogger();
|
||||||
|
|
Loading…
Reference in New Issue