Skip to content

Commit

Permalink
Merge pull request #10 from pytorch-labs/log_h_namespace
Browse files Browse the repository at this point in the history
Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers
  • Loading branch information
larryliu0820 authored Dec 6, 2024
2 parents 5776b28 + eec7ae9 commit 19e463d
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 19e463d

Please sign in to comment.