-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
How to set the absolute path of log files correctly(chinese or japanese) #2863
Comments
Print error messages with try {
// your code here.
} catch (const std::exception &ex) {
std::cerr << ex.what() << std::endl;
} |
Maybe duplicate #2510 |
@tt4g |
No source code or error messages are provided, so I have no idea what the cause is. At least #2510 did not solve the problem with |
QString fileName = QString("%1").arg(nLog);
} |
@amanjha491 Thank you ,I will try it |
Hi support:
this is a test code:
When the fileName 's path contains chinese or janpanse,the app crash,cannot open the fileName
I need help!
Thank you
`
QString fileName = QString("%1").arg(nLog);
{
auto stdout_sink = std::make_sharedspdlog::sinks::stdout_color_sink_mt();
stdout_sink->set_level(spdlog::level::off);
`
The text was updated successfully, but these errors were encountered: