Skip to content

Commit

Permalink
Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers
Browse files Browse the repository at this point in the history
namespace

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
larryliu0820 committed Dec 6, 2024
1 parent 5776b28 commit eec7ae9
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit eec7ae9

Please sign in to comment.