Skip to content

Commit

Permalink
docs: Add known log sink type
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Oct 26, 2024
1 parent f5ddf3d commit 2b5b0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pact_ffi/src/log/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub extern "C" fn pactffi_logger_init() {
/// - `-1`: Can't set logger (applying the logger failed, perhaps because one is applied already).
/// - `-2`: No logger has been initialized (call `pactffi_logger_init` before any other log function).
/// - `-3`: The sink specifier was not UTF-8 encoded.
/// - `-4`: The sink type specified is not a known type (known types: "stdout", "stderr", or "file /some/path").
/// - `-4`: The sink type specified is not a known type (known types: "stdout", "stderr", "buffer", or "file /some/path").
/// - `-5`: No file path was specified in a file-type sink specification.
/// - `-6`: Opening a sink to the specified file path failed (check permissions).
///
Expand Down

0 comments on commit 2b5b0c1

Please sign in to comment.