Show / Hide Table of Contents

    Class Logger

    Inheritance
    System.Object
    Logger
    Implements
    ILogger
    Namespace: Sensus
    Assembly: SensusAndroid.dll
    Syntax
    public class Logger : Object, ILogger

    Constructors

    Logger(String, LoggingLevel, TextWriter[])

    Declaration
    public Logger(string path, LoggingLevel level, params TextWriter[] otherOutputs)
    Parameters
    Type Name Description
    System.String path
    LoggingLevel level
    System.IO.TextWriter[] otherOutputs

    Properties

    Level

    Declaration
    public LoggingLevel Level { get; set; }
    Property Value
    Type Description
    LoggingLevel

    Methods

    Clear()

    Declaration
    public virtual void Clear()

    CommitMessageBuffer()

    Declaration
    public void CommitMessageBuffer()

    CopyTo(String)

    Declaration
    public void CopyTo(string path)
    Parameters
    Type Name Description
    System.String path

    Log(String, LoggingLevel, Type, Boolean)

    Declaration
    public void Log(string message, LoggingLevel level, Type callingType, bool throwException = false)
    Parameters
    Type Name Description
    System.String message
    LoggingLevel level
    System.Type callingType
    System.Boolean throwException

    Read(Int32, Boolean)

    Declaration
    public List<string> Read(int maxLines, bool mostRecentFirst)
    Parameters
    Type Name Description
    System.Int32 maxLines
    System.Boolean mostRecentFirst
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    Implements

    ILogger
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX