Search Results for

    Show / Hide Table of Contents

    Interface IMessageFormatter

    Provide the skeleton for a Message Formatter logger

    Namespace: nanoFramework.Logging
    Assembly: nanoFramework.Logging.dll
    Syntax
    public interface IMessageFormatter

    Methods

    MessageFormatter(string, LogLevel, EventId, string, Exception)

    The function to format the message

    Declaration
    string MessageFormatter(string className, LogLevel logLevel, EventId eventId, string state, Exception exception)
    Parameters
    Type Name Description
    string className

    The name of the logger

    LogLevel logLevel

    The log level

    EventId eventId

    The event id

    string state

    The message itself

    Exception exception

    The exception

    Returns
    Type Description
    string

    A formatted string

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX