|
@@ -11,7 +11,7 @@ namespace Learun.Util.Log |
|
|
{ |
|
|
{ |
|
|
#region log |
|
|
#region log |
|
|
//文件路径 |
|
|
//文件路径 |
|
|
string path = Path.Combine(Directory.GetCurrentDirectory(), "logs"); |
|
|
|
|
|
|
|
|
string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "logs"); |
|
|
if (!Directory.Exists(path)) |
|
|
if (!Directory.Exists(path)) |
|
|
{ |
|
|
{ |
|
|
Directory.CreateDirectory(path); |
|
|
Directory.CreateDirectory(path); |
|
|