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

Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers #10

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
// TODO: making an assumption that we have stderr
#define TK_LOG_OUTPUT_FILE stderr

namespace tokenizers {

extern "C" {
/**
* Severity level of a log message. Values must map to printable 7-bit ASCII
Expand Down Expand Up @@ -134,8 +136,6 @@ inline void TK_INTERNAL_PLATFORM_WEAKNESS tk_pal_emit_log_message(
}

} // extern "C"
namespace tokenizers {

/**
* Severity level of a log message. Must be ordered from lowest to highest
* severity.
Expand Down