mirror of https://github.com/deavmi/dlog.git
Context
- Documented each enum member for the `Level` enum - Documented all public members of `CompilationInfo`
This commit is contained in:
parent
f54ec9f87b
commit
cbeb844af5
|
@ -11,9 +11,24 @@ import std.conv : to;
|
||||||
*/
|
*/
|
||||||
public enum Level
|
public enum Level
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Informative message
|
||||||
|
*/
|
||||||
INFO,
|
INFO,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Warning message
|
||||||
|
*/
|
||||||
WARN,
|
WARN,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Error message
|
||||||
|
*/
|
||||||
ERROR,
|
ERROR,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Debugging message
|
||||||
|
*/
|
||||||
DEBUG
|
DEBUG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,11 +97,34 @@ public class Context
|
||||||
*/
|
*/
|
||||||
public struct CompilationInfo
|
public struct CompilationInfo
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* compile time usage file
|
||||||
|
*/
|
||||||
public string fullFilePath;
|
public string fullFilePath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* compile time usage file (relative)
|
||||||
|
*/
|
||||||
public string file;
|
public string file;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* compile time usage line number
|
||||||
|
*/
|
||||||
public ulong line;
|
public ulong line;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* compile time usage module
|
||||||
|
*/
|
||||||
public string moduleName;
|
public string moduleName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* compile time usage function
|
||||||
|
*/
|
||||||
public string functionName;
|
public string functionName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* compile time usage function (pretty)
|
||||||
|
*/
|
||||||
public string prettyFunctionName;
|
public string prettyFunctionName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue