Documentation
¶
Overview ¶
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
const ( LoggerConfigInitFailedMsg = "while initializing configuration got" AppLoggerInitFailedMsg = "application logger could not be initialized, because" MoleLoggerInitFailedMsg = "mole logger could not be initialized, because" BuildingZapFieldsFailedMsg = "while compiling logger options" )
Variables ¶
var (
ErrBuildingZapFieldsFailed = errors.New(BuildingZapFieldsFailedMsg)
)
var Log *zap.SugaredLogger
Log is the global logger for Mole
var Mole *zap.SugaredLogger
Mole is the logger for matches
Functions ¶
Types ¶
type Config ¶
type Config struct { // LogTo where the logger will write to LogTo string // LogLevel logger level. This can take info, error, warning, and debug LogLevel string MoleLogger MoleLogger }
Config logger internal configuration
type MoleLogger ¶
Directories
¶
Path | Synopsis |
---|---|
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |