Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RollingFileInitializer support for the WinCE platform. #230

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

gwankyun
Copy link
Contributor

@gwankyun gwankyun commented Nov 8, 2022

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
Owner

What do you use to build it?

@gwankyun
Copy link
Contributor Author

gwankyun commented Nov 9, 2022

What do you use to build it?

VS2008 with M3350_SDK(ARMv4I).

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.

None yet

2 participants