<commit_before>﻿//  Copyright (c) 2002-2016 "Neo Technology,"
//  Network Engine for Objects in Lund AB [http://neotechnology.com]
// 
//  This file is part of Neo4j.
// 
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
// 
//      http://www.apache.org/licenses/LICENSE-2.0
// 
//  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.
using System;

namespace Neo4j.Driver
{
    /// <summary>
    /// The logging levels that could be used by a logger.
    /// </summary>
    public enum LogLevel
    {
        None,
        Error,
        Info,
        Debug,
        Trace
    }

    public interface ILogger : IDisposable
    {
        /// <summary>Log a message at <see cref="LogLevel.Error"/> level.</summary>
        /// <param name="message">The error message.</param>
        /// <param name="cause">The cause of the error.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message.</param>
        void Error(string message, Exception cause = null, params object[] restOfMessage);

        /// <summary>Log a message at <see cref="LogLevel.Info"/> level.</summary>
        /// <param name="message">The message.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message.</param>
        void Info(string message, params object[] restOfMessage);

        /// <summary>Log a message at <see cref="LogLevel.Debug"/> level.</summary>
        /// <param name="message">The message.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message, including (but not limited to) Sent Messages and Received Messages.</param>
        void Debug(string message, params object[] restOfMessage);
<commit_msg>Added missing doc in ILogger<commit_after>﻿//  Copyright (c) 2002-2016 "Neo Technology,"
//  Network Engine for Objects in Lund AB [http://neotechnology.com]
// 
//  This file is part of Neo4j.
// 
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
// 
//      http://www.apache.org/licenses/LICENSE-2.0
// 
//  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.
using System;

namespace Neo4j.Driver
{
    /// <summary>
    /// The logging levels that could be used by a logger.
    /// </summary>
    public enum LogLevel
    {
        None,
        Error,
        Info,
        Debug,
        Trace
    }

    /// <summary>
    /// The logger used by this driver.
    /// </summary>
    /// <remarks>
    /// Set the logger that you want to use via <see cref="Config"/>.
    /// If no logger is explicitly set, then a default debug logger would be used <see cref="Config.DefaultConfig"/></remarks>
    public interface ILogger : IDisposable
    {
        /// <summary>Log a message at <see cref="LogLevel.Error"/> level.</summary>
        /// <param name="message">The error message.</param>
        /// <param name="cause">The cause of the error.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message.</param>
        void Error(string message, Exception cause = null, params object[] restOfMessage);

        /// <summary>Log a message at <see cref="LogLevel.Info"/> level.</summary>
        /// <param name="message">The message.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message.</param>
        void Info(string message, params object[] restOfMessage);

        /// <summary>Log a message at <see cref="LogLevel.Debug"/> level.</summary>
        /// <param name="message">The message.</param>
        /// <param name="restOfMessage">Any restOfMessage parts of the message, including (but not limited to) Sent Messages and Received Messages.</param>
        void Debug(string message, params object[] restOfMessage);

{'fraction_non_alphanumeric': 0.12313183136292662, 'fraction_numerical': 0.006245817532902075, 'mean_word_length': 2.6514657980456025, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6627461', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1181, 'n_words': 470}