7 |
|
|
8 |
|
namespace libxmltv.Core |
9 |
|
{ |
10 |
< |
public class xmltv_logger |
10 |
> |
public class XMLTV_LOGGER |
11 |
|
{ |
12 |
|
public static void Initialize() |
13 |
|
{ |
14 |
|
try |
15 |
|
{ |
16 |
|
string log_path = Application.StartupPath; |
17 |
< |
string log_filename = string.Format("{0}.log", typeof(xmltv_logger).Assembly.GetName().Name); |
18 |
< |
gLog.Initialize(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All); |
17 |
> |
string log_filename = string.Format("{0}.log", typeof(XMLTV_LOGGER).Assembly.GetName().Name); |
18 |
> |
gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All); |
19 |
|
} |
20 |
|
catch (Exception) |
21 |
|
{ |