plog icon indicating copy to clipboard operation
plog copied to clipboard

Add RollingFileInitializer support for the WinCE platform.

Open gwankyun opened this issue 2 years ago • 2 comments

WinCE lacks many functions like _wsopen_s,should use CreateFileW instead。

#include "stdafx.h"
#include <Windows.h>
#include <plog/Log.h>
#include <plog/Initializers/RollingFileInitializer.h>

int _tmain(int argc, _TCHAR* argv[])
{
    plog::init(plog::debug, "/Storage Card/test.log");

    PLOG(plog::debug) << "plog";
    PLOG(plog::debug) << "on";
    PLOG(plog::debug) << "WinCE";
    return 0;
}

gwankyun avatar Nov 08 '22 14:11 gwankyun

What do you use to build it?

SergiusTheBest avatar Nov 08 '22 15:11 SergiusTheBest

What do you use to build it?

VS2008 with M3350_SDK(ARMv4I).

gwankyun avatar Nov 09 '22 01:11 gwankyun