WIP : Elektron Logging library #16

Merged
balandi1 merged 50 commits from master into master 2019-12-10 01:15:34 +00:00
3 changed files with 10 additions and 19 deletions
Showing only changes of commit bb8c0a79d6 - Show all commits

View file

@ -40,8 +40,7 @@ func (f ElektronFormatter) Format(entry *log.Entry) ([]byte, error) {
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
var formattedFields []string
for key, value := range entry.Data {
formattedFields = append(formattedFields,
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
strings.Join([]string{key, value.(string)}, "="))
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
formattedFields = append(formattedFields, strings.Join([]string{key, value.(string)}, "="))
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
}
b.WriteString(message)

ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay
ridv commented 2019-11-19 02:56:40 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:57:02 +00:00 (Migrated from github.com)

Formatting

Formatting
ridv commented 2019-11-19 02:59:56 +00:00 (Migrated from github.com)

Use strings.join instead. You should create the slice and append the message if necessary.

Use [strings.join](https://golang.org/pkg/strings/#Join) instead. You should create the slice and append the message if necessary.
ridv commented 2019-11-19 03:00:54 +00:00 (Migrated from github.com)

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.

This seems really inefficient. Wouldn't value already have to be a string for this to succeed? In which case, I don't think we gain anything here by suing a sprintf.
balandi1 commented 2019-11-20 18:48:25 +00:00 (Migrated from github.com)

Okay. Sure

Okay. Sure
balandi1 commented 2019-11-20 19:42:41 +00:00 (Migrated from github.com)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : value.(string)

value is not a string here, it is of type interface{}. But to avoid using sprintf, would it be fine to use type assertion? For eg : `value.(string) `
balandi1 commented 2019-11-21 18:07:31 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-21 18:07:42 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 22:13:22 +00:00 (Migrated from github.com)

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.

Line 43 and 44 can fit in one line. We currently do not have any style linting setup.
pradykaushik commented 2019-11-21 22:59:52 +00:00 (Migrated from github.com)

Peeked at how logrus serializes values and seems like fmt.Sprint is used if type assertion fails.

Peeked at how [logrus](https://github.com/sirupsen/logrus/blob/67a7fdcf741f4d5cee82cb9800994ccfd4393ad0/text_formatter.go#L315) serializes values and seems like fmt.Sprint is used if type assertion fails.
ridv commented 2019-11-24 18:46:09 +00:00 (Migrated from github.com)

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.

ahh alright, I thought it was a string coming in. Alright, if it's been sanity checked then i'm good with it.
balandi1 commented 2019-11-26 18:14:34 +00:00 (Migrated from github.com)

Okay

Okay

View file

@ -12,17 +12,17 @@ console:
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
minLogLevel: debug
allowOnConsole: true
pcp:
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: .pcplog
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: false
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: .pcplog
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: false
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
schedWindow:
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: _schedWindow.log
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: _schedWindow.log
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
clsfnTaskDistrOverhead:
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: _classificationOverhead.log
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
enabled: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
filenameExtension: _classificationOverhead.log
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
allowOnConsole: true
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
format:

pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done
pradykaushik commented 2019-11-21 02:59:07 +00:00 (Migrated from github.com)

Inconsistent spacing.

Inconsistent spacing.
pradykaushik commented 2019-11-21 02:59:18 +00:00 (Migrated from github.com)

unnecessary comment.

unnecessary comment.
balandi1 commented 2019-11-26 18:11:53 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-11-26 18:12:07 +00:00 (Migrated from github.com)

Removed

Removed
pradykaushik commented 2019-12-06 22:00:44 +00:00 (Migrated from github.com)

disable schedWindow logging in the log config file that is kept within the repository.

disable schedWindow logging in the log config file that is kept within the repository.
pradykaushik commented 2019-12-06 22:00:51 +00:00 (Migrated from github.com)

ditto

ditto
balandi1 commented 2019-12-09 15:37:11 +00:00 (Migrated from github.com)

Done

Done
balandi1 commented 2019-12-09 15:37:36 +00:00 (Migrated from github.com)

Done

Done

View file

@ -134,14 +134,6 @@ func WithPCPLog(pcpLog chan struct{}) SchedulerOptions {
}
}
/*func WithLoggingChannels(lmt chan elekLogDef.LogMessageType, msg chan string) SchedulerOptions {
return func(s ElectronScheduler) error {
s.(*BaseScheduler).logMsgType = lmt
s.(*BaseScheduler).logMsg = msg
return nil
}
}*/
func WithSchedPolSwitchEnabled(enableSchedPolicySwitch bool, switchingCriteria string) SchedulerOptions {
return func(s ElectronScheduler) error {
s.(*BaseScheduler).schedPolSwitchEnabled = enableSchedPolicySwitch