Neaten Logging
This commit is contained in:
parent
777c76bb3d
commit
3f56167d86
|
|
@ -48,15 +48,13 @@ class Program
|
||||||
|
|
||||||
if (args.Length < 2)
|
if (args.Length < 2)
|
||||||
{
|
{
|
||||||
Log.Error("Too Few Args");
|
Log.Error("Too Few Args: Expected at least 2 but received {Count}",args.Length);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
string _inputDirectory = args[0];
|
string _inputDirectory = args[0];
|
||||||
string _outputDirectory = args[1];
|
string _outputDirectory = args[1];
|
||||||
|
|
||||||
Log.Debug("{_inputDirectory} , {_outputDirectory}",_inputDirectory,_outputDirectory);
|
|
||||||
Log.Debug("{a} , {b}",Directory.Exists(_inputDirectory),Directory.Exists(_outputDirectory));
|
|
||||||
|
|
||||||
if (!Directory.Exists(_inputDirectory))
|
if (!Directory.Exists(_inputDirectory))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user