Code cleanup.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Cryville.Common {
|
|||||||
public static void SetLogPath(string path) {
|
public static void SetLogPath(string path) {
|
||||||
logPath = path;
|
logPath = path;
|
||||||
var dir = new DirectoryInfo(path);
|
var dir = new DirectoryInfo(path);
|
||||||
if (!dir.Exists) Directory.CreateDirectory(dir.FullName);
|
if (!dir.Exists) dir.Create();
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs to the specified logger.
|
/// Logs to the specified logger.
|
||||||
|
Reference in New Issue
Block a user