WIP : Elektron Logging library #16
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// Copyright (C) 2018 spdfg
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
//
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// This file is part of Elektron.
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
//
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// (at your option) any later version.
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
//
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// GNU General Public License for more details.
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
//
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
//
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
|
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
||||||
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
![]()
`isEnabled()` does not have to be part of the interface.
![]() ditto ditto
![]() ditto ditto
![]() Yes. Removed it from there Yes. Removed it from there
![]() Done Done
![]() Done Done
|
|
@ -1,3 +1,21 @@
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// Copyright (C) 2018 spdfg
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
//
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// This file is part of Elektron.
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
//
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// (at your option) any later version.
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
//
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// GNU General Public License for more details.
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
//
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
//
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
|
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
||||||
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
![]() does this need to be exported outside the package? does this need to be exported outside the package?
![]() No, not needed. Changed it to No, not needed. Changed it to `getConfig` .
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
// Copyright (C) 2018 spdfg
|
||||||
|
//
|
||||||
|
// This file is part of Elektron.
|
||||||
|
//
|
||||||
|
// Elektron is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Elektron is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
//
|
||||||
|
|
||||||
package types
|
package types
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
isEnabled()
does not have to be part of the interface.