改进win下LogDialog/LogConsole的参数传递
This commit is contained in:
parent
c7f4421c61
commit
89aba9674b
@ -58,7 +58,7 @@ namespace hgl
|
|||||||
}
|
}
|
||||||
};//class LogWinConsole
|
};//class LogWinConsole
|
||||||
|
|
||||||
Logger *CreateLoggerConsole(const OSString &,LogLevel ll)
|
Logger *CreateLoggerConsole(LogLevel ll)
|
||||||
{
|
{
|
||||||
return(new LogWinConsole(ll));
|
return(new LogWinConsole(ll));
|
||||||
}
|
}
|
||||||
|
@ -14,9 +14,9 @@ namespace hgl
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
LogWinDialog(LogLevel ll):Logger(ll)
|
LogWinDialog(const OSString &n,LogLevel ll):Logger(ll)
|
||||||
{
|
{
|
||||||
name=project_code;
|
name=n;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Create(const UTF16String &)
|
bool Create(const UTF16String &)
|
||||||
@ -45,9 +45,9 @@ namespace hgl
|
|||||||
}
|
}
|
||||||
};//class LogWinDialog
|
};//class LogWinDialog
|
||||||
|
|
||||||
Logger *CreateLoggerDialog(const OSString &,LogLevel ll)
|
Logger *CreateLoggerDialog(const OSString &n,LogLevel ll)
|
||||||
{
|
{
|
||||||
return(new LogWinDialog(ll));
|
return(new LogWinDialog(n,ll));
|
||||||
}
|
}
|
||||||
}//namespace logger
|
}//namespace logger
|
||||||
}//namespace hgl
|
}//namespace hgl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user