We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b387e6d commit 98e4825Copy full SHA for 98e4825
log/log.go
@@ -47,7 +47,7 @@ Can be sussy if not used properly and by passing in random codes.
47
Only use when you have SetLog().
48
*/
49
func LogNonFatal_C(code int, msg string) {
50
- if validateCode(code) {
+ if !validateCode(code) {
51
LogNonFatal("log.go", "LogNonFatal_C()", "Entered Invalid Code. Returning False automacially")
52
return
53
}
@@ -62,7 +62,7 @@ Can be sussy if not used properly and by passing in random codes.
62
63
64
func LogNonFatalError_C(code int, msg string, err error) bool {
65
- if code < 0 || code >= len(logPaths) {
66
LogNonFatal("log.go", "LogNonFatalError_C()", "Entered Invalid Code. Returning False automacially")
67
return false
68
0 commit comments