Skip to content

Add RollingFileInitializer support for the WinCE platform.#230

Open
gwankyun wants to merge 15 commits into
SergiusTheBest:masterfrom
gwankyun:WinCE
Open

Add RollingFileInitializer support for the WinCE platform.#230
gwankyun wants to merge 15 commits into
SergiusTheBest:masterfrom
gwankyun:WinCE

Conversation

@gwankyun

@gwankyun gwankyun commented Nov 8, 2022

Copy link
Copy Markdown
Contributor

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;
}

@SergiusTheBest

Copy link
Copy Markdown
Owner

What do you use to build it?

@gwankyun

gwankyun commented Nov 9, 2022

Copy link
Copy Markdown
Contributor Author

What do you use to build it?

VS2008 with M3350_SDK(ARMv4I).

@SergiusTheBest SergiusTheBest force-pushed the master branch 2 times, most recently from 0687baa to e5c033e Compare August 10, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants