Skip to content

LLamaLogLevel: ensure numbering matches llama.cpp #531

@swharden

Description

@swharden

LLamaLogLevel appears to be wrong. In C# DEBUG = 1 but in C++ DEBUG = 5.

public enum LLamaLogLevel
{
/// <summary>
/// Logs that are used for interactive investigation during development.
/// </summary>
Debug = 1,
/// <summary>
/// Logs that highlight when the current flow of execution is stopped due to a failure.
/// </summary>
Error = 2,
/// <summary>
/// Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.
/// </summary>
Warning = 3,
/// <summary>
/// Logs that track the general flow of the application.
/// </summary>
Info = 4
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions