Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F531020
Logger.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
657 B
Subscribers
None
Logger.h
View Options
#pragma once
#include
<windows.h>
class
Logger
{
public
:
virtual
void
log
(
const
WCHAR
*
format
,
...);
virtual
void
log
(
const
CHAR
*
format
,
...);
protected
:
virtual
void
write
(
const
WCHAR
*
str
)
=
0
;
virtual
void
write
(
const
CHAR
*
str
);
};
class
FileLog
:
public
Logger
{
public
:
FileLog
(
const
WCHAR
*
fileName
);
private
:
void
write
(
const
WCHAR
*
str
);
void
write
(
const
CHAR
*
str
);
WCHAR
filePath
[
MAX_PATH
];
};
class
ListboxLog
:
public
Logger
{
public
:
ListboxLog
()
:
window
(
0
)
{
}
ListboxLog
(
HWND
window
);
void
setWindow
(
HWND
window
);
private
:
void
write
(
const
WCHAR
*
str
);
//void write(const CHAR * str);
HWND
window
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jan 9, 4:58 AM (16 h, 22 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f6/0e/9c4004f27db7a34f5c8e7970c537
Attached To
rSCY Scylla
Event Timeline
Log In to Comment