Search Results for

    Class AMNetLogger

    Default logger that writes through the SSH runtime logging backend.

    Inheritance
    object
    AMNetLogger
    Implements
    IAMNetLogger
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Logging
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public class AMNetLogger : IAMNetLogger

    Constructors

    | Edit this page View Source

    AMNetLogger(Type, LogLevel)

    Creates a logger for the supplied source type.

    Declaration
    public AMNetLogger(Type type, AMNetLogger.LogLevel logLevel = LogLevel.Info)
    Parameters
    Type Name Description
    Type type

    The source type used as the logger name.

    AMNetLogger.LogLevel logLevel

    The default log level.

    Methods

    | Edit this page View Source

    Debug(string, Exception?)

    Writes a debug log message.

    Declaration
    public void Debug(string message, Exception? ex = null)
    Parameters
    Type Name Description
    string message

    The message to write.

    Exception ex

    Optional exception details.

    | Edit this page View Source

    Error(string, Exception?)

    Writes an error log message.

    Declaration
    public void Error(string message, Exception? ex = null)
    Parameters
    Type Name Description
    string message

    The message to write.

    Exception ex

    Optional exception details.

    | Edit this page View Source

    Info(string)

    Writes an informational log message.

    Declaration
    public void Info(string message)
    Parameters
    Type Name Description
    string message

    The message to write.

    | Edit this page View Source

    Trace(string, Exception?)

    Writes a trace log message.

    Declaration
    public void Trace(string message, Exception? ex = null)
    Parameters
    Type Name Description
    string message

    The message to write.

    Exception ex

    Optional exception details.

    | Edit this page View Source

    Warn(string, Exception?)

    Writes a warning log message.

    Declaration
    public void Warn(string message, Exception? ex = null)
    Parameters
    Type Name Description
    string message

    The message to write.

    Exception ex

    Optional exception details.

    Implements

    IAMNetLogger
    • Edit this page
    • View Source
    In this article
    Back to top Porta SFTP ServerGitHubApacheMinaSSHD.NET Generated by DocFX