Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

LogLevel.None #333

Closed
Closed
@WilBloodworth

Description

@WilBloodworth

Please either change LogLevel.None's value to 0 or provide a different log level that has a value of 0.

Right now, there isn't an entry in this enumeration with the value of 0. I consider this an error even though it is allowed (i.e. compiles). For example, if you take, "default(LogLevel)" what does it return?... 0. But 0 isn't a valid value for LogLevel.

Please simply change None to be 0 and all will be right with the world. I honestly don't care which way you change the ordering (low to high), (high to low)... as long as this enumeration ends up with an entry with a 0 value.

SIDE BAR: You could make it a 'flags' enumeration with values having the power of 2... that way you COULD mix and match the levels. Not sure who would do that... but you could.

Thank you!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions